1) Add in EcpEfiBreakPoint and EcpMemoryFence which will be defined as EFI_BREAKPOINT and MEMORY_FENCE.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6806 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12
2008-12-02 14:35:15 +00:00
parent 8ad4884016
commit f90eb36c15
9 changed files with 397 additions and 0 deletions

View File

@@ -54,6 +54,60 @@ extern EFI_DXE_SERVICES *gDS;
extern UINTN gRtErrorLevel;
extern FVB_ENTRY *mFvbEntry;
#if defined(__GNUC__) && defined(ECP_CPU_IPF)
VOID
EFIAPI
EcpEfiBreakPoint (
VOID
)
/*++
Routine Description:
Generates a breakpoint on the CPU.
Generates a breakpoint on the CPU. The breakpoint must be implemented such
that code can resume normal execution after the breakpoint.
Arguments:
VOID
Returns:
VOID
--*/
;
VOID
EFIAPI
EcpMemoryFence (
VOID
)
/*++
Routine Description:
Used to serialize load and store operations.
All loads and stores that proceed calls to this function are guaranteed to be
globally visible when this function returns.
Arguments:
VOID
Returns:
VOID
--*/
;
#endif
VOID
EFIAPI
EfiRuntimeLibFvbVirtualNotifyEvent (