#include "Common.i"\r
#include "Ds64Macros.i"\r
\r
-.globl PatchSaveBuffer\r
-.globl IpfContextBuf\r
-.globl CommonHandler\r
-.globl ExternalInterruptCount\r
+ASM_GLOBAL PatchSaveBuffer\r
+ASM_GLOBAL IpfContextBuf\r
+ASM_GLOBAL CommonHandler\r
+ASM_GLOBAL ExternalInterruptCount\r
\r
\r
/////////////////////////////////////////////\r
// Description:\r
// Flushes instruction cache for specified number of bytes\r
//\r
- .globl InstructionCacheFlush\r
+ ASM_GLOBAL InstructionCacheFlush\r
.proc InstructionCacheFlush\r
.align 32\r
InstructionCacheFlush::\r
// Notes:\r
//\r
//\r
- .globl ChainHandler\r
+ ASM_GLOBAL ChainHandler\r
.proc ChainHandler\r
ChainHandler:\r
\r
// Notes:\r
//\r
//\r
- .globl UnchainHandler\r
+ ASM_GLOBAL UnchainHandler\r
.proc UnchainHandler\r
\r
UnchainHandler:\r
// Returns:\r
// Current value if IVA\r
\r
- .globl GetIva\r
+ ASM_GLOBAL GetIva\r
.proc GetIva\r
GetIva:\r
mov r8=cr2;;\r
// Returns:\r
// Previous state of psr.ic\r
//\r
- .globl ProgramInterruptFlags\r
+ ASM_GLOBAL ProgramInterruptFlags\r
.proc ProgramInterruptFlags\r
ProgramInterruptFlags:\r
alloc loc0=1,2,0,0;;\r
// Saves IVT index to SCRATCH_REG1 (immediate value is fixed up when code is copied\r
// to the IVT entry.\r
\r
- .globl HookStub\r
+ ASM_GLOBAL HookStub\r
.proc HookStub\r
HookStub:\r
\r