/** @file\r
IPF specific functions to support Debug Support protocol.\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation\r
+Copyright (c) 2006 - 2010, Intel Corporation\r
All rights reserved. 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
#define NUM_IVT_ENTRIES 64\r
\r
typedef struct {\r
- BUNDLE OrigBundles[NUM_BUNDLES_IN_STUB];\r
- VOID (*RegisteredCallback) ();\r
+ BUNDLE OrigBundles[NUM_BUNDLES_IN_STUB];\r
+ CALLBACK_FUNC RegisteredCallback;\r
} IVT_ENTRY;\r
\r
IVT_ENTRY IvtEntryTable[NUM_IVT_ENTRIES];\r
ManageIvtEntryTable (\r
IN EFI_EXCEPTION_TYPE ExceptionType,\r
IN BUNDLE NewBundles[NUM_BUNDLES_IN_STUB],\r
- IN VOID (*NewCallback) ()\r
+ IN CALLBACK_FUNC NewCallback\r
)\r
{\r
BUNDLE *B0Ptr;\r
HookEntry (\r
IN EFI_EXCEPTION_TYPE ExceptionType,\r
IN BUNDLE NewBundles[4],\r
- IN VOID (*NewCallback) ()\r
+ IN CALLBACK_FUNC NewCallback\r
)\r
{\r
BUNDLE *FixupBundle;\r
// fixup IVT entry so it stores its index and whether or not to chain...\r
//\r
FixupBundle = B0Ptr + 2;\r
- FixupBundle->high |= ExceptionType << 36;\r
+ FixupBundle->High |= ExceptionType << 36;\r
\r
InstructionCacheFlush (B0Ptr, 5);\r
IvtEntryTable[ExceptionType].RegisteredCallback = NewCallback;\r
**/\r
VOID\r
ChainExternalInterrupt (\r
- IN VOID (*NewCallback) ()\r
+ IN CALLBACK_FUNC NewCallback\r
)\r
{\r
VOID *Start;\r