Apply david's patch.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5091 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2008-04-18 04:14:35 +00:00
parent 1166d06825
commit f40bbc08c8
11 changed files with 28 additions and 24 deletions

View File

@ -47,10 +47,12 @@
CpuIoAccess.h
[Sources.IA32]
IA32\CpuIoAccess.asm
Ia32/CpuIoAccess.asm | MSFT
Ia32/CpuIoAccessGNU.c | GCC
[Sources.X64]
X64\CpuIoAccess.asm
X64/CpuIoAccess.asm
[Protocols]
gEfiCpuIoProtocolGuid
gEfiCpuIoProtocolGuid

View File

@ -338,7 +338,7 @@ DataHubGenEntrypoint (
Status = gBS->LocateProtocol (
&gEfiDataHubProtocolGuid,
NULL,
&gDataHub
(VOID**)&gDataHub
);
if (EFI_ERROR (Status)) {
return Status;
@ -354,7 +354,7 @@ DataHubGenEntrypoint (
Status = gBS->LocateProtocol (
&gEfiHiiProtocolGuid,
NULL,
&gHii
(VOID**)&gHii
);
#endif
if (EFI_ERROR (Status)) {

View File

@ -60,7 +60,7 @@ Abstract:
SMBIOS_STRUCTURE_POINTER
GetSmbiosTableFromType (
IN VOID *Smbios,
IN SMBIOS_TABLE_ENTRY_POINT *Smbios,
IN UINT8 Type,
IN UINTN Index
);

View File

@ -38,7 +38,7 @@ PrintValue64 (
VOID
PrintString (
UINT8 *String
CHAR8 *String
);
VOID

View File

@ -32,4 +32,5 @@
#include <VariableFormat.h>
#include <CpuIA32.h>
#endif // _DUET_DXEIPL_H_
#endif // _DUET_DXEIPL_H_

View File

@ -55,16 +55,16 @@
Debug.h
[Sources.x64]
X64\CpuIoAccess.asm
X64\EnterDxeCore.asm
X64\Paging.c
X64\VirtualMemory.h
X64/CpuIoAccess.asm
X64/EnterDxeCore.asm
X64/Paging.c
X64/VirtualMemory.h
[Sources.Ia32]
Ia32\CpuIoAccess.asm
Ia32\EnterDxeCore.asm
Ia32\Paging.c
Ia32\VirtualMemory.h
Ia32/CpuIoAccess.asm
Ia32/EnterDxeCore.asm
Ia32/Paging.c
Ia32/VirtualMemory.h
#[BuildOptions.common]
#MSFT:*_*_IA32_DLINK_FLAGS = /out:"$(BIN_DIR)\SecMain.exe" /base:0x10000000 /pdb:"$(BIN_DIR)\SecMain.pdb" /LIBPATH:"$(VCINSTALLDIR)\Lib" /LIBPATH:"$(VCINSTALLDIR)\PlatformSdk\Lib" /NOLOGO /SUBSYSTEM:CONSOLE /NODEFAULTLIB /IGNORE:4086 /MAP /OPT:REF /DEBUG /MACHINE:I386 /LTCG Kernel32.lib MSVCRTD.lib Gdi32.lib User32.lib Winmm.lib
@ -72,3 +72,4 @@
#MSFT:*_*_IA32_PP_FLAGS = /nologo /E /TC /FI$(DEST_DIR_DEBUG)/AutoGen.h
#MSFT:*_*_IA32_ASM_FLAGS = /nologo /W3 /WX /c /coff /Cx /Zd /W0 /Zi
#MSFT:*_*_IA32_ASMLINK_FLAGS = /link /nologo /tiny
#GCC:*_UNIXGCC_IA32_CC_FLAGS = -O2 -falign-functions -falign-jumps -falign-loops -freorder-blocks -freorder-blocks-and-partition -falign-labels -fshort-wchar -fno-strict-aliasing -Wall -Wno-missing-braces -c -include AutoGen.h

View File

@ -547,7 +547,7 @@ Return:
//
// Process region above 4GB
//
if (EfiMemoryDescriptor[Index].PhysicalStart >= 0x100000000) {
if (EfiMemoryDescriptor[Index].PhysicalStart >= 0x100000000LL) {
if (EfiMemoryDescriptor[Index].Type == EfiConventionalMemory) {
if (gHob->MemoryAbove4GB.PhysicalStart == 0) {
gHob->MemoryAbove4GB.PhysicalStart = EfiMemoryDescriptor[Index].PhysicalStart;

View File

@ -21,7 +21,7 @@ Revision History:
#include "DxeIpl.h"
#include "HobGeneration.h"
#define ACPI_RSD_PTR 0x2052545020445352
#define ACPI_RSD_PTR 0x2052545020445352LL
#define MPS_PTR EFI_SIGNATURE_32('_','M','P','_')
#define SMBIOS_PTR EFI_SIGNATURE_32('_','S','M','_')

View File

@ -656,7 +656,7 @@ Returns:
VOID
DebugSerialPrint (
IN UINT8 *OutputString
IN CHAR8 *OutputString
)
/*++

View File

@ -67,7 +67,7 @@ extern UINT8 gBreakSet;
VOID
DebugSerialPrint (
IN UINT8 *OutputString
IN CHAR8 *OutputString
);
VOID

View File

@ -42,13 +42,13 @@
Reset.h
[Sources.ipf]
Ipf\IpfReset.c
Ipf/IpfReset.c
[Sources.ia32]
Ia32\Ia32Reset.c
Ia32/Ia32Reset.c
[Sources.x64]
x64\x64Reset.c
x64/x64Reset.c
[Protocols]
gEfiResetArchProtocolGuid