diff options
author | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-26 09:23:24 +0000 |
---|---|---|
committer | niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-01-26 09:23:24 +0000 |
commit | d9dd98f0dc8edf4f5c86f44db046bf4aa4c95eda (patch) | |
tree | 45d76b3837beb66eff36313ef72e4a45c0bf1772 /DuetPkg/EfiLdr | |
parent | 948cecf4bb571e35c051fcc77333658923e67241 (diff) | |
download | edk2-platforms-d9dd98f0dc8edf4f5c86f44db046bf4aa4c95eda.tar.xz |
Fix DUET x64 hang in Video Option ROM.
The root cause is EfiLdr module was wrongly loaded to address 0x0 corrupting the BDA(0x400) region. The patch set module base address to 0x10000 which aligns to R8 behavior.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9824 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/EfiLdr')
-rw-r--r-- | DuetPkg/EfiLdr/EfiLdr.inf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/DuetPkg/EfiLdr/EfiLdr.inf b/DuetPkg/EfiLdr/EfiLdr.inf index c644877784..4ce6df22cb 100644 --- a/DuetPkg/EfiLdr/EfiLdr.inf +++ b/DuetPkg/EfiLdr/EfiLdr.inf @@ -59,3 +59,5 @@ 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
+ MSFT:*_*_*_DLINK_FLAGS = /BASE:0x10000
+ GCC:*_*_*_DLINK_FLAGS = --image-base 0x10000
|