]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DebugSupportDxe/Ipf/PlDebugSupport.c
Improve coding style in MdeModulePkg.
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / Ipf / PlDebugSupport.c
index fa701003333c8eb79b85ddb4bc30c0b38e9c9f53..138a36c8930b94d56e6a4ab617118994610f294a 100644 (file)
@@ -1,7 +1,7 @@
 /** @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
@@ -23,8 +23,8 @@ BOOLEAN  mInHandler = FALSE;
 #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
@@ -183,7 +183,7 @@ EFI_STATUS
 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
@@ -257,7 +257,7 @@ VOID
 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
@@ -285,7 +285,7 @@ HookEntry (
   // 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
@@ -329,7 +329,7 @@ UnhookEntry (
 **/\r
 VOID\r
 ChainExternalInterrupt (\r
-  IN  VOID  (*NewCallback) ()\r
+  IN  CALLBACK_FUNC  NewCallback\r
   )\r
 {\r
   VOID  *Start;\r