summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-05 15:22:54 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-05 15:22:54 +0000
commit640a2e529edba56772488fbc6a3786167f24e645 (patch)
treee520822dc734daf3b4b4c86c6184cd0616d6b8ee /DuetPkg/BootSector
parent88e9055e526aa81a8720d11733b328504f0fb8b0 (diff)
downloadedk2-platforms-640a2e529edba56772488fbc6a3786167f24e645.tar.xz
Fix issue for boot sector
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7819 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/BootSector')
-rw-r--r--DuetPkg/BootSector/efi32.S4
-rw-r--r--DuetPkg/BootSector/start.S2
2 files changed, 1 insertions, 5 deletions
diff --git a/DuetPkg/BootSector/efi32.S b/DuetPkg/BootSector/efi32.S
index a93f350c5b..fdee1af393 100644
--- a/DuetPkg/BootSector/efi32.S
+++ b/DuetPkg/BootSector/efi32.S
@@ -19,10 +19,6 @@
# Now in 32-bit protected mode.
##############################################################################
- .486:
- #.MODEL flat
- .stack:
- .code16
.org 0x21000
.equ DEFAULT_HANDLER_SIZE, INT1 - INT0
diff --git a/DuetPkg/BootSector/start.S b/DuetPkg/BootSector/start.S
index fe7aa1b4d5..86aa4b7543 100644
--- a/DuetPkg/BootSector/start.S
+++ b/DuetPkg/BootSector/start.S
@@ -73,7 +73,7 @@ BootSectorEntryPoint:
NoVarStore:
pushw %es
# Set the 5th byte start @ 0:19000 to non-zero indicating we should init var store header in DxeIpl
- movb %al, %es:4
+ movb %al, %es:(4)
jmp SaveVolumeId
CheckVarStoreSize: