diff options
author | vprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-05 18:51:24 +0000 |
---|---|---|
committer | vprabhal <vprabhal@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-05 18:51:24 +0000 |
commit | 3e0ada4914d9f5f749cc90f47d8c2ae37d67c07d (patch) | |
tree | 035dedb24910c22db05dca3f7e310d41a3fc4361 /MdePkg/Library/BaseLib | |
parent | d56c53cbb9336c586e124178f855a995659e275c (diff) | |
download | edk2-3e0ada4914d9f5f749cc90f47d8c2ae37d67c07d.tar.gz edk2-3e0ada4914d9f5f749cc90f47d8c2ae37d67c07d.tar.bz2 edk2-3e0ada4914d9f5f749cc90f47d8c2ae37d67c07d.zip |
moved CpuSleep and CpuFlushTlb to the CpuLib to use PalCall in those functions, it is creating circular dependency if those functions are in BaseLib and the PalCallStatic is replaced with PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4023 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib')
-rw-r--r-- | MdePkg/Library/BaseLib/BaseLib.inf | 11 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c | 30 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c | 17 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c | 16 |
4 files changed, 0 insertions, 74 deletions
diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index b084eab21e..f262226a1b 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -156,8 +156,6 @@ Ia32/CpuPause.c | MSFT
Ia32/CpuIdEx.c | MSFT
Ia32/CpuId.c | MSFT
- Ia32/CpuSleep.c | MSFT
- Ia32/CpuFlushTlb.c | MSFT
Ia32/CpuBreakpoint.c | MSFT
Ia32/ARShiftU64.c | MSFT
SynchronizationMsc.c | MSFT
@@ -252,8 +250,6 @@ Ia32/CpuPause.asm | INTEL
Ia32/CpuIdEx.asm | INTEL
Ia32/CpuId.asm | INTEL
- Ia32/CpuSleep.asm | INTEL
- Ia32/CpuFlushTlb.asm | INTEL
Ia32/CpuBreakpoint.asm | INTEL
Ia32/ARShiftU64.asm | INTEL
Synchronization.c | INTEL
@@ -262,10 +258,8 @@ Ia32/EnablePaging64.asm
Ia32/Thunk16.S | GCC
- Ia32/CpuFlushTlb.S | GCC
Ia32/CpuBreakpoint.S | GCC
Ia32/CpuPause.S | GCC
- Ia32/CpuSleep.S | GCC
Ia32/EnableDisableInterrupts.S | GCC
Ia32/DisableInterrupts.S | GCC
Ia32/EnableInterrupts.S | GCC
@@ -380,9 +374,7 @@ [Sources.X64]
X64/Thunk16.asm
- X64/CpuFlushTlb.asm
X64/CpuPause.asm
- X64/CpuSleep.asm
X64/EnableDisableInterrupts.asm
X64/DisableInterrupts.asm
X64/EnableInterrupts.asm
@@ -568,11 +560,9 @@ X64/EnableDisableInterrupts.S | GCC
X64/DisablePaging64.S | GCC
X64/DisableInterrupts.S | GCC
- X64/CpuSleep.S | GCC
X64/CpuPause.S | GCC
X64/CpuId.S | GCC
X64/CpuIdEx.S | GCC
- X64/CpuFlushTlb.S | GCC
X64/CpuBreakpoint.S | GCC
SynchronizationGcc.c | GCC
@@ -590,7 +580,6 @@ Ipf/FlushCacheRange.s
Ipf/InternalSwitchStack.c
Ipf/GetInterruptState.s
- Ipf/CpuFlushTlb.s
Ipf/CpuPause.s
Ipf/Synchronization.c
Ipf/InterlockedCompareExchange64.s
diff --git a/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c b/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c index cdba67c4cd..2849d96172 100644 --- a/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c +++ b/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c @@ -136,33 +136,3 @@ CpuPause ( {
}
-/**
- Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
-
- Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.
-
-**/
-VOID
-EFIAPI
-CpuFlushTlb (
- VOID
- )
-{
- ASSERT (FALSE);
-}
-
-/**
- Places the CPU in a sleep state until an interrupt is received.
-
- Places the CPU in a sleep state until an interrupt is received. If interrupts
- are disabled prior to calling this function, then the CPU will be placed in a
- sleep state indefinitely.
-
-**/
-VOID
-EFIAPI
-CpuSleep (
- VOID
- )
-{
-}
diff --git a/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c b/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c index 59c7e40818..a72049b98a 100644 --- a/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c +++ b/MdePkg/Library/BaseLib/Ipf/CpuBreakpoint.c @@ -96,20 +96,3 @@ EnableDisableInterrupts ( EnableInterrupts ();
DisableInterrupts ();
}
-
-/**
- Places the CPU in a sleep state until an interrupt is received.
-
- Places the CPU in a sleep state until an interrupt is received. If interrupts
- are disabled prior to calling this function, then the CPU will be placed in a
- sleep state indefinitely.
-
-**/
-VOID
-EFIAPI
-CpuSleep (
- VOID
- )
-{
- PalCallStatic (NULL, 29, 0, 0, 0);
-}
diff --git a/MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c b/MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c index ed53e42b7b..74911b2764 100644 --- a/MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c +++ b/MdePkg/Library/BaseLib/Ipf/CpuBreakpointMsc.c @@ -102,19 +102,3 @@ EnableDisableInterrupts ( DisableInterrupts ();
}
-/**
- Places the CPU in a sleep state until an interrupt is received.
-
- Places the CPU in a sleep state until an interrupt is received. If interrupts
- are disabled prior to calling this function, then the CPU will be placed in a
- sleep state indefinitely.
-
-**/
-VOID
-EFIAPI
-CpuSleep (
- VOID
- )
-{
- PalCallStatic (NULL, 29, 0, 0, 0);
-}
|