Macros for symbols used in both ASM and C
-The macros take care of prepending the leading underscore when necessary.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
.text
|
||||
.extern __vm_getphys
|
||||
.globl _vm_getphys
|
||||
.balign 2
|
||||
#include <machine/asm.h>
|
||||
|
||||
IMPORT(_vm_getphys)
|
||||
ENTRY(vm_getphys)
|
||||
jmp _C_LABEL(_vm_getphys)
|
||||
|
||||
_vm_getphys:
|
||||
jmp __vm_getphys
|
||||
|
||||
Reference in New Issue
Block a user