/// @file\r
/// Low level IPF routines used by the debug support driver\r
///\r
-/// Copyright (c) 2006 - 2008, Intel Corporation\r
-/// All rights reserved. This program and the accompanying materials\r
+/// Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+/// This program and the accompanying materials\r
/// are licensed and made available under the terms and conditions of the BSD License\r
/// which accompanies this distribution. The full text of the license may be found at\r
/// http://opensource.org/licenses/bsd-license.php\r
/// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
/// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
///\r
-/// Module Name: AsmFuncs.s\r
-///\r
///\r
\r
\r
#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