mirror of https://github.com/acidanthera/audk.git
1. cleanup functions header in PeCoffLoaderEx.c
2. fixed link error in EnablePaging64.asm git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1175 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
af1dd46d37
commit
4a78c00aac
|
@ -36,7 +36,10 @@
|
|||
;------------------------------------------------------------------------------
|
||||
InternalX86EnablePaging64 PROC
|
||||
cli
|
||||
mov dword ptr [rsp], @F ; offset for far retf, seg is the 1st arg
|
||||
pop rax
|
||||
call @Base
|
||||
@Base:
|
||||
add dword ptr [rsp], @F - @Base ; offset for far retf, seg is the 1st arg
|
||||
mov rax, cr4 ; mov eax, cr4
|
||||
or al, (1 SHL 5)
|
||||
mov cr4, rax ; enable PAE
|
||||
|
|
|
@ -264,27 +264,6 @@ PeHotRelocateImageEx (
|
|||
IN OUT CHAR8 **FixupData,
|
||||
IN UINT64 Adjust
|
||||
)
|
||||
/*++
|
||||
|
||||
Routine Description:
|
||||
|
||||
Performs an IPF specific relocation fixup
|
||||
|
||||
Arguments:
|
||||
|
||||
Reloc - Pointer to the relocation record
|
||||
|
||||
Fixup - Pointer to the address to fix up
|
||||
|
||||
FixupData - Pointer to a buffer to log the fixups
|
||||
|
||||
Adjust - The offset to adjust the fixup
|
||||
|
||||
Returns:
|
||||
|
||||
None
|
||||
|
||||
--*/
|
||||
{
|
||||
UINT64 *F64;
|
||||
UINT64 FixupVal;
|
||||
|
|
Loading…
Reference in New Issue