summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/DebugSupportDxe
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-30 06:05:06 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-30 06:05:06 +0000
commitfe1e36e550c6ffcd2561903d434683d3939e1942 (patch)
tree31618cec624f5f927f9ce4c5745fb995095879bf /MdeModulePkg/Universal/DebugSupportDxe
parentfe467413d2230a2170bb3ffc91e5e8c909920628 (diff)
downloadedk2-fe1e36e550c6ffcd2561903d434683d3939e1942.zip
edk2-fe1e36e550c6ffcd2561903d434683d3939e1942.tar.gz
edk2-fe1e36e550c6ffcd2561903d434683d3939e1942.tar.bz2
Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6296 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DebugSupportDxe')
-rw-r--r--MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.c3
-rw-r--r--MdeModulePkg/Universal/DebugSupportDxe/Ipf/plDebugSupport.c14
-rw-r--r--MdeModulePkg/Universal/DebugSupportDxe/X64/plDebugSupport.c3
3 files changed, 1 insertions, 19 deletions
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.c b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.c
index d7f254b..a148842 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.c
+++ b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.c
@@ -23,7 +23,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
IDT_ENTRY *IdtEntryTable = NULL;
DESCRIPTOR NullDesc = 0;
-STATIC
EFI_STATUS
CreateEntryStub (
IN EFI_EXCEPTION_TYPE ExceptionType,
@@ -74,7 +73,6 @@ Returns:
return EFI_SUCCESS;
}
-STATIC
EFI_STATUS
HookEntry (
IN EFI_EXCEPTION_TYPE ExceptionType,
@@ -120,7 +118,6 @@ Returns:
return Status;
}
-STATIC
EFI_STATUS
UnhookEntry (
IN EFI_EXCEPTION_TYPE ExceptionType
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ipf/plDebugSupport.c b/MdeModulePkg/Universal/DebugSupportDxe/Ipf/plDebugSupport.c
index 33233d6..7b6e75d 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/Ipf/plDebugSupport.c
+++ b/MdeModulePkg/Universal/DebugSupportDxe/Ipf/plDebugSupport.c
@@ -33,7 +33,6 @@ typedef struct {
VOID (*RegisteredCallback) ();
} IVT_ENTRY;
-STATIC
EFI_STATUS
ManageIvtEntryTable (
IN EFI_EXCEPTION_TYPE ExceptionType,
@@ -41,7 +40,6 @@ ManageIvtEntryTable (
IN VOID (*NewCallback) ()
);
-STATIC
VOID
HookEntry (
IN EFI_EXCEPTION_TYPE ExceptionType,
@@ -49,25 +47,21 @@ HookEntry (
IN VOID (*NewCallback) ()
);
-STATIC
VOID
UnhookEntry (
IN EFI_EXCEPTION_TYPE ExceptionType
);
-STATIC
VOID
ChainExternalInterrupt (
IN VOID (*NewCallback) ()
);
-STATIC
VOID
UnchainExternalInterrupt (
VOID
);
-STATIC
VOID
GetHandlerEntryPoint (
UINTN HandlerIndex,
@@ -162,7 +156,7 @@ Returns:
--*/
{
- static BOOLEAN InHandler = FALSE;
+ STATIC BOOLEAN InHandler = FALSE;
DEBUG_CODE_BEGIN ();
if (InHandler) {
@@ -195,7 +189,6 @@ Returns:
InHandler = FALSE;
}
-STATIC
VOID
GetHandlerEntryPoint (
UINTN HandlerIndex,
@@ -238,7 +231,6 @@ Returns:
*EntryPoint = (VOID *) TempPtr;
}
-STATIC
EFI_STATUS
ManageIvtEntryTable (
IN EFI_EXCEPTION_TYPE ExceptionType,
@@ -321,7 +313,6 @@ Returns:
return EFI_SUCCESS;
}
-STATIC
VOID
HookEntry (
IN EFI_EXCEPTION_TYPE ExceptionType,
@@ -376,7 +367,6 @@ Returns:
IvtEntryTable[ExceptionType].RegisteredCallback = NewCallback;
}
-STATIC
VOID
UnhookEntry (
IN EFI_EXCEPTION_TYPE ExceptionType
@@ -414,7 +404,6 @@ Returns:
InstructionCacheFlush (B0Ptr, 5);
}
-STATIC
VOID
ChainExternalInterrupt (
IN VOID (*NewCallback) ()
@@ -442,7 +431,6 @@ Returns:
InstructionCacheFlush (Start, 0x400);
}
-STATIC
VOID
UnchainExternalInterrupt (
VOID
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/X64/plDebugSupport.c b/MdeModulePkg/Universal/DebugSupportDxe/X64/plDebugSupport.c
index 8b907ee..983a013 100644
--- a/MdeModulePkg/Universal/DebugSupportDxe/X64/plDebugSupport.c
+++ b/MdeModulePkg/Universal/DebugSupportDxe/X64/plDebugSupport.c
@@ -23,7 +23,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
IDT_ENTRY *IdtEntryTable = NULL;
DESCRIPTOR NullDesc = {0, 0};
-STATIC
EFI_STATUS
CreateEntryStub (
IN EFI_EXCEPTION_TYPE ExceptionType,
@@ -72,7 +71,6 @@ Returns:
return EFI_SUCCESS;
}
-STATIC
EFI_STATUS
HookEntry (
IN EFI_EXCEPTION_TYPE ExceptionType,
@@ -119,7 +117,6 @@ Returns:
return Status;
}
-STATIC
EFI_STATUS
UnhookEntry (
IN EFI_EXCEPTION_TYPE ExceptionType