based on initial work by rdp, with heavy modifications. some features including threads are untested because qemu app-level emulation seems to be broken and I do not have a proper system image for testing.
8 lines
145 B
ArmAsm
8 lines
145 B
ArmAsm
.global __unmapself
|
|
.type __unmapself,@function
|
|
__unmapself:
|
|
ori r12, r0, 91
|
|
brki r14, 0x8
|
|
ori r12, r0, 1
|
|
brki r14, 0x8
|
|
nop
|