Add support for inline assembly

This depends on support in LLVM, which hasn't been merged yet.
See: https://reviews.llvm.org/D46437
This commit is contained in:
Ayke van Laethem
2018-06-07 18:29:35 +02:00
parent 808cb991af
commit 802302a1aa
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -74,8 +74,8 @@ func monotime() uint64 {
}
func abort() {
// TODO: wfi
for {
arm.Asm("wfi")
}
}