summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: