shithub: riscv

Download patch

ref: 3ccd53549f245d61a1d7e4369934c502fba9c2cb
parent: 6eca75fafb0b125329592b5b2c1b0fcb52c0bd7f
author: cinap_lenrek <[email protected]>
date: Tue Nov 7 19:34:08 EST 2017

pc64: set ts flag before schedinit()

--- a/sys/src/9/pc64/squidboy.c
+++ b/sys/src/9/pc64/squidboy.c
@@ -8,6 +8,8 @@
 
 #include "mp.h"
 
+extern void _stts(void);
+
 static void
 squidboy(Apic* apic)
 {
@@ -21,6 +23,7 @@
 	lapicinit(apic);
 	lapiconline();
 	timersinit();
+	_stts();
 	schedinit();
 }