diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-18 04:14:35 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-18 04:14:35 +0000 |
commit | f40bbc08c8690a3e408736cbf047999d2fac44eb (patch) | |
tree | 8c28197325ea0d61d136319b12c423f4f4062a00 /DuetPkg/DxeIpl | |
parent | 1166d06825aca8d7e172776bd1297d6bcd3ad47c (diff) | |
download | edk2-platforms-f40bbc08c8690a3e408736cbf047999d2fac44eb.tar.xz |
Apply david's patch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5091 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/DxeIpl')
-rw-r--r-- | DuetPkg/DxeIpl/Debug.h | 2 | ||||
-rw-r--r-- | DuetPkg/DxeIpl/DxeIpl.h | 3 | ||||
-rw-r--r-- | DuetPkg/DxeIpl/DxeIpl.inf | 17 | ||||
-rw-r--r-- | DuetPkg/DxeIpl/HobGeneration.c | 2 | ||||
-rw-r--r-- | DuetPkg/DxeIpl/LegacyTable.c | 2 | ||||
-rw-r--r-- | DuetPkg/DxeIpl/SerialStatusCode.c | 2 | ||||
-rw-r--r-- | DuetPkg/DxeIpl/SerialStatusCode.h | 2 |
7 files changed, 16 insertions, 14 deletions
diff --git a/DuetPkg/DxeIpl/Debug.h b/DuetPkg/DxeIpl/Debug.h index 1bd42179fc..6f8e2413c8 100644 --- a/DuetPkg/DxeIpl/Debug.h +++ b/DuetPkg/DxeIpl/Debug.h @@ -38,7 +38,7 @@ PrintValue64 ( VOID
PrintString (
- UINT8 *String
+ CHAR8 *String
);
VOID
diff --git a/DuetPkg/DxeIpl/DxeIpl.h b/DuetPkg/DxeIpl/DxeIpl.h index 5606a18f04..8fe11488c7 100644 --- a/DuetPkg/DxeIpl/DxeIpl.h +++ b/DuetPkg/DxeIpl/DxeIpl.h @@ -32,4 +32,5 @@ #include <VariableFormat.h>
#include <CpuIA32.h>
-#endif // _DUET_DXEIPL_H_
\ No newline at end of file +#endif // _DUET_DXEIPL_H_
+
diff --git a/DuetPkg/DxeIpl/DxeIpl.inf b/DuetPkg/DxeIpl/DxeIpl.inf index bea8730a2e..3bdded832b 100644 --- a/DuetPkg/DxeIpl/DxeIpl.inf +++ b/DuetPkg/DxeIpl/DxeIpl.inf @@ -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
diff --git a/DuetPkg/DxeIpl/HobGeneration.c b/DuetPkg/DxeIpl/HobGeneration.c index bf2fa1a566..624d6763a2 100644 --- a/DuetPkg/DxeIpl/HobGeneration.c +++ b/DuetPkg/DxeIpl/HobGeneration.c @@ -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;
diff --git a/DuetPkg/DxeIpl/LegacyTable.c b/DuetPkg/DxeIpl/LegacyTable.c index f6f066ed98..1175d560d8 100644 --- a/DuetPkg/DxeIpl/LegacyTable.c +++ b/DuetPkg/DxeIpl/LegacyTable.c @@ -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','_')
diff --git a/DuetPkg/DxeIpl/SerialStatusCode.c b/DuetPkg/DxeIpl/SerialStatusCode.c index 02cc4d47cd..1892a33b6c 100644 --- a/DuetPkg/DxeIpl/SerialStatusCode.c +++ b/DuetPkg/DxeIpl/SerialStatusCode.c @@ -656,7 +656,7 @@ Returns: VOID
DebugSerialPrint (
- IN UINT8 *OutputString
+ IN CHAR8 *OutputString
)
/*++
diff --git a/DuetPkg/DxeIpl/SerialStatusCode.h b/DuetPkg/DxeIpl/SerialStatusCode.h index 3a1b7a9e2b..f46aa140c7 100644 --- a/DuetPkg/DxeIpl/SerialStatusCode.h +++ b/DuetPkg/DxeIpl/SerialStatusCode.h @@ -67,7 +67,7 @@ extern UINT8 gBreakSet; VOID
DebugSerialPrint (
- IN UINT8 *OutputString
+ IN CHAR8 *OutputString
);
VOID
|