generalize -scheduler=none to support most platforms

This commit is contained in:
Jaden Weiss
2020-02-07 17:17:38 -05:00
committed by Ayke
parent 5089d1a5a7
commit 5d869f6042
12 changed files with 48 additions and 40 deletions
+3 -3
View File
@@ -17,13 +17,13 @@ const tickMicros = 1024 * 32
//go:linkname systemInit SystemInit
func systemInit()
func postinit() {}
//go:export Reset_Handler
func main() {
systemInit()
preinit()
initAll()
go callMain()
scheduler()
run()
abort()
}