summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector/start32.S
diff options
context:
space:
mode:
Diffstat (limited to 'DuetPkg/BootSector/start32.S')
-rw-r--r--DuetPkg/BootSector/start32.S14
1 files changed, 7 insertions, 7 deletions
diff --git a/DuetPkg/BootSector/start32.S b/DuetPkg/BootSector/start32.S
index 3ddebfc862..786d48bf36 100644
--- a/DuetPkg/BootSector/start32.S
+++ b/DuetPkg/BootSector/start32.S
@@ -89,7 +89,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:
@@ -100,7 +100,7 @@ CheckVarStoreSize:
LoadVarStore:
movb $0, %al
- movb %al, %es:($4)
+ movb %al, %es:4
movw (%di), %cx
# ES:DI = 1500:0
xorw %di, %di
@@ -111,9 +111,9 @@ LoadVarStore:
SaveVolumeId:
popw %es
movw VolId(%bp), %ax
- movw %ax, %es:($0) # Save Volume Id to 0:19000. we will find the correct volume according to this VolumeId
+ movw %ax, %es:0 # Save Volume Id to 0:19000. we will find the correct volume according to this VolumeId
movw VolId+2(%bp), %ax
- movw %ax, %es:($2)
+ movw %ax, %es:2
# Read Efildr
popw %cx
@@ -307,11 +307,11 @@ Halt:
ErrorString:
.byte 'S', 0x0c, 'E', 0x0c, 'r', 0x0c, 'r', 0x0c, 'o', 0x0c, 'r', 0x0c, '!', 0x0c
- .org 0x01fa # Will cause build break
+ # .org 0x01fa # Will cause build break
LBAOffsetForBootSector:
.long 0x0
- .org 0x01fe # Will cause build break
+ # .org 0x01fe # Will cause build break
.word 0xaa55
#******************************************************************************
@@ -324,7 +324,7 @@ LBAOffsetForBootSector:
.equ WRITE_DATA_PORT_CMD, 0x0d1 # 8042 command to write the data port
.equ ENABLE_A20_CMD, 0x0df # 8042 command to enable A20
-.org 0x200 # Will cause build break
+# .org 0x200 # Will cause build break
jmp start
Em64String:
.byte 'E', 0x0c, 'm', 0x0c, '6', 0x0c, '4', 0x0c, 'T', 0x0c, ' ', 0x0c, 'U', 0x0c, 'n', 0x0c, 's', 0x0c, 'u', 0x0c, 'p', 0x0c, 'p', 0x0c, 'o', 0x0c, 'r', 0x0c, 't', 0x0c, 'e', 0x0c, 'd', 0x0c, '!', 0x0c