summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-31 04:32:02 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-31 04:32:02 +0000
commit47fc17d8a96970bc36dd7b9d4567c2c2ac102c78 (patch)
tree9de1562dd433cf86283034100bc2728e680e7a0e /MdePkg
parenta0f1b047fa1f42559486f7112c504812e3f0adfc (diff)
downloadedk2-platforms-47fc17d8a96970bc36dd7b9d4567c2c2ac102c78.tar.xz
Use #include "XXX.h" for module internal header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6330 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseLib/CheckSum.c2
-rw-r--r--MdePkg/Library/BaseLib/Cpu.c2
-rw-r--r--MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c2
-rw-r--r--MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c2
-rw-r--r--MdePkg/Library/BaseLib/Ebc/SwitchStack.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/CpuIdEx.asm72
-rw-r--r--MdePkg/Library/BaseLib/Ia32/DisablePaging32.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/DivS64x64Remainder.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/EnablePaging32.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/FxRestore.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/FxSave.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/LongJump.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadGdtr.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/ReadIdtr.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/SetJump.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/Thunk16.asm2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteGdtr.c2
-rw-r--r--MdePkg/Library/BaseLib/Ia32/WriteIdtr.c2
-rw-r--r--MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c2
-rw-r--r--MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c2
-rw-r--r--MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c56
-rw-r--r--MdePkg/Library/BaseLib/Ipf/Unaligned.c2
-rw-r--r--MdePkg/Library/BaseLib/SwitchStack.c2
-rw-r--r--MdePkg/Library/BaseLib/Unaligned.c2
-rw-r--r--MdePkg/Library/BaseLib/X64/Thunk16.asm2
-rw-r--r--MdePkg/Library/BaseLib/X86GetInterruptState.c2
-rw-r--r--MdePkg/Library/BaseLib/X86Msr.c2
-rw-r--r--MdePkg/Library/BaseLib/X86Thunk.c2
29 files changed, 91 insertions, 91 deletions
diff --git a/MdePkg/Library/BaseLib/CheckSum.c b/MdePkg/Library/BaseLib/CheckSum.c
index 38e6dacf44..a89b7b1775 100644
--- a/MdePkg/Library/BaseLib/CheckSum.c
+++ b/MdePkg/Library/BaseLib/CheckSum.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Calculate the sum of all elements in a buffer in unit of UINT8.
diff --git a/MdePkg/Library/BaseLib/Cpu.c b/MdePkg/Library/BaseLib/Cpu.c
index f4ffb8f5fc..e6fe5611c0 100644
--- a/MdePkg/Library/BaseLib/Cpu.c
+++ b/MdePkg/Library/BaseLib/Cpu.c
@@ -12,7 +12,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
diff --git a/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c b/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c
index 837c204cf3..214e2f5a4c 100644
--- a/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c
+++ b/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c
@@ -12,7 +12,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
extern
UINT64
diff --git a/MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c b/MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c
index f2001393f0..da2481a443 100644
--- a/MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c
+++ b/MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c
@@ -15,7 +15,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Saves the current CPU context that can be restored with a call to LongJump() and returns 0.
diff --git a/MdePkg/Library/BaseLib/Ebc/SwitchStack.c b/MdePkg/Library/BaseLib/Ebc/SwitchStack.c
index c9b2955e23..e79c117123 100644
--- a/MdePkg/Library/BaseLib/Ebc/SwitchStack.c
+++ b/MdePkg/Library/BaseLib/Ebc/SwitchStack.c
@@ -12,7 +12,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Transfers control to a function starting with a new stack.
diff --git a/MdePkg/Library/BaseLib/Ia32/CpuIdEx.asm b/MdePkg/Library/BaseLib/Ia32/CpuIdEx.asm
index cdebec2114..80e4dee377 100644
--- a/MdePkg/Library/BaseLib/Ia32/CpuIdEx.asm
+++ b/MdePkg/Library/BaseLib/Ia32/CpuIdEx.asm
@@ -1,42 +1,42 @@
-;------------------------------------------------------------------------------
-;
-; Copyright (c) 2006, Intel Corporation
-; All rights reserved. This program and the accompanying materials
-; are licensed and made available under the terms and conditions of the BSD License
-; which accompanies this distribution. The full text of the license may be found at
-; http://opensource.org/licenses/bsd-license.php
-;
-; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-;
-; Module Name:
-;
+;------------------------------------------------------------------------------
+;
+; Copyright (c) 2006, Intel Corporation
+; All rights reserved. This program and the accompanying materials
+; are licensed and made available under the terms and conditions of the BSD License
+; which accompanies this distribution. The full text of the license may be found at
+; http://opensource.org/licenses/bsd-license.php
+;
+; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+;
+; Module Name:
+;
; CpuIdEx.Asm
-;
-; Abstract:
-;
+;
+; Abstract:
+;
; AsmCpuidEx function
-;
-; Notes:
-;
-;------------------------------------------------------------------------------
-
+;
+; Notes:
+;
+;------------------------------------------------------------------------------
+
.686
.model flat,C
- .code
-
-;------------------------------------------------------------------------------
-; UINT32
-; EFIAPI
+ .code
+
+;------------------------------------------------------------------------------
+; UINT32
+; EFIAPI
; AsmCpuidEx (
-; IN UINT32 RegisterInEax,
-; IN UINT32 RegisterInEcx,
-; OUT UINT32 *RegisterOutEax OPTIONAL,
-; OUT UINT32 *RegisterOutEbx OPTIONAL,
-; OUT UINT32 *RegisterOutEcx OPTIONAL,
-; OUT UINT32 *RegisterOutEdx OPTIONAL
-; )
-;------------------------------------------------------------------------------
+; IN UINT32 RegisterInEax,
+; IN UINT32 RegisterInEcx,
+; OUT UINT32 *RegisterOutEax OPTIONAL,
+; OUT UINT32 *RegisterOutEbx OPTIONAL,
+; OUT UINT32 *RegisterOutEcx OPTIONAL,
+; OUT UINT32 *RegisterOutEdx OPTIONAL
+; )
+;------------------------------------------------------------------------------
AsmCpuidEx PROC USES ebx
push ebp
mov ebp, esp
@@ -64,5 +64,5 @@ AsmCpuidEx PROC USES ebx
leave
ret
AsmCpuidEx ENDP
-
- END
+
+ END
diff --git a/MdePkg/Library/BaseLib/Ia32/DisablePaging32.c b/MdePkg/Library/BaseLib/Ia32/DisablePaging32.c
index 237b9fe182..ec1d4b3a37 100644
--- a/MdePkg/Library/BaseLib/Ia32/DisablePaging32.c
+++ b/MdePkg/Library/BaseLib/Ia32/DisablePaging32.c
@@ -12,7 +12,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Disables the 32-bit paging mode on the CPU.
diff --git a/MdePkg/Library/BaseLib/Ia32/DivS64x64Remainder.c b/MdePkg/Library/BaseLib/Ia32/DivS64x64Remainder.c
index ca150c878b..c5e894f287 100644
--- a/MdePkg/Library/BaseLib/Ia32/DivS64x64Remainder.c
+++ b/MdePkg/Library/BaseLib/Ia32/DivS64x64Remainder.c
@@ -12,7 +12,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Worker function that Divides a 64-bit signed integer by a 64-bit signed integer and
diff --git a/MdePkg/Library/BaseLib/Ia32/EnablePaging32.c b/MdePkg/Library/BaseLib/Ia32/EnablePaging32.c
index e20dcd175f..e2515ef9c2 100644
--- a/MdePkg/Library/BaseLib/Ia32/EnablePaging32.c
+++ b/MdePkg/Library/BaseLib/Ia32/EnablePaging32.c
@@ -12,7 +12,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Enables the 32-bit paging mode on the CPU.
diff --git a/MdePkg/Library/BaseLib/Ia32/FxRestore.c b/MdePkg/Library/BaseLib/Ia32/FxRestore.c
index 570bf9174e..655db517d1 100644
--- a/MdePkg/Library/BaseLib/Ia32/FxRestore.c
+++ b/MdePkg/Library/BaseLib/Ia32/FxRestore.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
diff --git a/MdePkg/Library/BaseLib/Ia32/FxSave.c b/MdePkg/Library/BaseLib/Ia32/FxSave.c
index f65c507393..a59d2a56f5 100644
--- a/MdePkg/Library/BaseLib/Ia32/FxSave.c
+++ b/MdePkg/Library/BaseLib/Ia32/FxSave.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
diff --git a/MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c b/MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c
index 73355c0ea6..eff87b03ac 100644
--- a/MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c
+++ b/MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c
@@ -12,7 +12,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Transfers control to a function starting with a new stack.
diff --git a/MdePkg/Library/BaseLib/Ia32/LongJump.c b/MdePkg/Library/BaseLib/Ia32/LongJump.c
index 835f3e4a2a..d53b0f5f66 100644
--- a/MdePkg/Library/BaseLib/Ia32/LongJump.c
+++ b/MdePkg/Library/BaseLib/Ia32/LongJump.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadGdtr.c b/MdePkg/Library/BaseLib/Ia32/ReadGdtr.c
index f73ca6fc8f..9429eb6cda 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadGdtr.c
+++ b/MdePkg/Library/BaseLib/Ia32/ReadGdtr.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
diff --git a/MdePkg/Library/BaseLib/Ia32/ReadIdtr.c b/MdePkg/Library/BaseLib/Ia32/ReadIdtr.c
index 7109e68ca3..0825c47b24 100644
--- a/MdePkg/Library/BaseLib/Ia32/ReadIdtr.c
+++ b/MdePkg/Library/BaseLib/Ia32/ReadIdtr.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
diff --git a/MdePkg/Library/BaseLib/Ia32/SetJump.c b/MdePkg/Library/BaseLib/Ia32/SetJump.c
index e18387f22b..c6c93517ec 100644
--- a/MdePkg/Library/BaseLib/Ia32/SetJump.c
+++ b/MdePkg/Library/BaseLib/Ia32/SetJump.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Worker function that checks ASSERT condition for JumpBuffer
diff --git a/MdePkg/Library/BaseLib/Ia32/Thunk16.asm b/MdePkg/Library/BaseLib/Ia32/Thunk16.asm
index 39fc8dce87..ab7d978372 100644
--- a/MdePkg/Library/BaseLib/Ia32/Thunk16.asm
+++ b/MdePkg/Library/BaseLib/Ia32/Thunk16.asm
@@ -1,5 +1,5 @@
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
;------------------------------------------------------------------------------
;
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteGdtr.c b/MdePkg/Library/BaseLib/Ia32/WriteGdtr.c
index 828c9c1bfe..a7013531c7 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteGdtr.c
+++ b/MdePkg/Library/BaseLib/Ia32/WriteGdtr.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
diff --git a/MdePkg/Library/BaseLib/Ia32/WriteIdtr.c b/MdePkg/Library/BaseLib/Ia32/WriteIdtr.c
index 18e8c57e83..daea4f9728 100644
--- a/MdePkg/Library/BaseLib/Ia32/WriteIdtr.c
+++ b/MdePkg/Library/BaseLib/Ia32/WriteIdtr.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Writes the current Interrupt Descriptor Table Register(GDTR) descriptor.
diff --git a/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c b/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
index 12e80c7a30..6aac0d8795 100644
--- a/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
+++ b/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Generates a breakpoint on the CPU.
diff --git a/MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c b/MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c
index fa78d954bb..dc718c6a19 100644
--- a/MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c
+++ b/MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
#pragma intrinsic (_enable)
#pragma intrinsic (_disable)
diff --git a/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c b/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c
index bc5bc502a9..ae61541dea 100644
--- a/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c
+++ b/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c
@@ -12,40 +12,40 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
-/**
- Transfers control to a function starting with a new stack.
-
- Transfers control to the function specified by EntryPoint using the
- new stack specified by NewStack and passing in the parameters specified
- by Context1 and Context2. Context1 and Context2 are optional and may
- be NULL. The function EntryPoint must never return.
- Marker will be ignored on IA-32, x64, and EBC.
- IPF CPUs expect one additional parameter of type VOID * that specifies
+/**
+ Transfers control to a function starting with a new stack.
+
+ Transfers control to the function specified by EntryPoint using the
+ new stack specified by NewStack and passing in the parameters specified
+ by Context1 and Context2. Context1 and Context2 are optional and may
+ be NULL. The function EntryPoint must never return.
+ Marker will be ignored on IA-32, x64, and EBC.
+ IPF CPUs expect one additional parameter of type VOID * that specifies
the new backing store pointer.
-
+
If EntryPoint is NULL, then ASSERT().
If NewStack is NULL, then ASSERT().
-
- @param EntryPoint A pointer to function to call with the new stack.
- @param Context1 A pointer to the context to pass into the EntryPoint
- function.
- @param Context2 A pointer to the context to pass into the EntryPoint
- function.
- @param NewStack A pointer to the new stack to use for the EntryPoint
+
+ @param EntryPoint A pointer to function to call with the new stack.
+ @param Context1 A pointer to the context to pass into the EntryPoint
function.
- @param Marker VA_LIST marker for the variable argument list.
-
+ @param Context2 A pointer to the context to pass into the EntryPoint
+ function.
+ @param NewStack A pointer to the new stack to use for the EntryPoint
+ function.
+ @param Marker VA_LIST marker for the variable argument list.
+
**/
-VOID
-EFIAPI
-InternalSwitchStack (
- IN SWITCH_STACK_ENTRY_POINT EntryPoint,
- IN VOID *Context1, OPTIONAL
- IN VOID *Context2, OPTIONAL
- IN VOID *NewStack,
- IN VA_LIST Marker
+VOID
+EFIAPI
+InternalSwitchStack (
+ IN SWITCH_STACK_ENTRY_POINT EntryPoint,
+ IN VOID *Context1, OPTIONAL
+ IN VOID *Context2, OPTIONAL
+ IN VOID *NewStack,
+ IN VA_LIST Marker
)
{
diff --git a/MdePkg/Library/BaseLib/Ipf/Unaligned.c b/MdePkg/Library/BaseLib/Ipf/Unaligned.c
index 772d2f43ef..87ec5ae50a 100644
--- a/MdePkg/Library/BaseLib/Ipf/Unaligned.c
+++ b/MdePkg/Library/BaseLib/Ipf/Unaligned.c
@@ -12,7 +12,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Reads a 16-bit value from memory that may be unaligned.
diff --git a/MdePkg/Library/BaseLib/SwitchStack.c b/MdePkg/Library/BaseLib/SwitchStack.c
index e247e94857..4454856607 100644
--- a/MdePkg/Library/BaseLib/SwitchStack.c
+++ b/MdePkg/Library/BaseLib/SwitchStack.c
@@ -12,7 +12,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
Transfers control to a function starting with a new stack.
diff --git a/MdePkg/Library/BaseLib/Unaligned.c b/MdePkg/Library/BaseLib/Unaligned.c
index acb44fc5aa..860475b940 100644
--- a/MdePkg/Library/BaseLib/Unaligned.c
+++ b/MdePkg/Library/BaseLib/Unaligned.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
diff --git a/MdePkg/Library/BaseLib/X64/Thunk16.asm b/MdePkg/Library/BaseLib/X64/Thunk16.asm
index 1ba4022ed4..2ee40c2fe4 100644
--- a/MdePkg/Library/BaseLib/X64/Thunk16.asm
+++ b/MdePkg/Library/BaseLib/X64/Thunk16.asm
@@ -1,5 +1,5 @@
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
;------------------------------------------------------------------------------
;
diff --git a/MdePkg/Library/BaseLib/X86GetInterruptState.c b/MdePkg/Library/BaseLib/X86GetInterruptState.c
index 0b63addf14..7485c1129f 100644
--- a/MdePkg/Library/BaseLib/X86GetInterruptState.c
+++ b/MdePkg/Library/BaseLib/X86GetInterruptState.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
diff --git a/MdePkg/Library/BaseLib/X86Msr.c b/MdePkg/Library/BaseLib/X86Msr.c
index 60d0087ad9..13ad455255 100644
--- a/MdePkg/Library/BaseLib/X86Msr.c
+++ b/MdePkg/Library/BaseLib/X86Msr.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
/**
diff --git a/MdePkg/Library/BaseLib/X86Thunk.c b/MdePkg/Library/BaseLib/X86Thunk.c
index c982ee3e06..ff9f2c5f88 100644
--- a/MdePkg/Library/BaseLib/X86Thunk.c
+++ b/MdePkg/Library/BaseLib/X86Thunk.c
@@ -13,7 +13,7 @@
**/
-#include <BaseLibInternals.h>
+#include "BaseLibInternals.h"
//