]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/arm64/asm.h
xnu-6153.11.26.tar.gz
[apple/xnu.git] / osfmk / arm64 / asm.h
index fb2c1ea8a5520a1807064230949461e82ee0c43a..3bced40de936bed4d257151aa42aa8848b3702f8 100644 (file)
        movk $0, #((($1) >> 00) & 0x000000000000FFFF), lsl #00
 .endmacro
 
+.macro MOV32
+       movz $0, #((($1) >> 16) & 0x000000000000FFFF), lsl #16
+       movk $0, #((($1) >> 00) & 0x000000000000FFFF), lsl #00
+.endmacro
+
 .macro ARM64_STACK_PROLOG
 #if __has_feature(ptrauth_returns)
        pacibsp
 
 #ifdef  XNU_KERNEL_PRIVATE
 .macro PANIC_UNIMPLEMENTED
-       bl _panic_unimplemented
+       bl EXT(panic_unimplemented)
 .endmacro
 #endif