arm7tdmi: clean up architecture definition

This commit is contained in:
Ayke van Laethem
2019-08-23 17:55:34 +02:00
committed by Ron Evans
parent e356bad4d1
commit 9b1dd8e03d
2 changed files with 7 additions and 10 deletions
-9
View File
@@ -3,14 +3,9 @@
package runtime
import (
"device/arm"
"unsafe"
)
const TargetBits = 32
const GOARCH = "arm"
type timeUnit int64
const tickMicros = 1
@@ -82,10 +77,6 @@ func abort() {
}
}
func getCurrentStackPointer() uintptr {
return arm.ReadRegister("sp")
}
// Implement memset for LLVM and compiler-rt.
//go:export memset
func libc_memset(ptr unsafe.Pointer, c byte, size uintptr) {