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
@@ -31,6 +31,8 @@ var _sidata [0]byte
//go:extern _edata
var _edata [0]byte
func postinit() {}
//go:export main
func main() {
// Zero the PLIC enable bits on startup: they are not zeroed at reset.
@@ -51,9 +53,7 @@ func main() {
preinit()
initPeripherals()
initAll()
go callMain()
scheduler()
run()
abort()
}