runtime: make channels work in interrupts

This commit is contained in:
Jaden Weiss
2020-05-29 23:46:58 -04:00
committed by Ron Evans
parent aa3481e06a
commit a4f3457747
13 changed files with 232 additions and 33 deletions
+4
View File
@@ -102,3 +102,7 @@ func procPin() {
func procUnpin() {
arm.EnableInterrupts(procPinnedMask)
}
func waitForEvents() {
arm.Asm("wfe")
}