summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector
diff options
context:
space:
mode:
Diffstat (limited to 'DuetPkg/BootSector')
-rw-r--r--DuetPkg/BootSector/bs16.S2
-rw-r--r--DuetPkg/BootSector/bs32.S2
-rw-r--r--DuetPkg/BootSector/efi32.S2
3 files changed, 3 insertions, 3 deletions
diff --git a/DuetPkg/BootSector/bs16.S b/DuetPkg/BootSector/bs16.S
index 133a9c2..440732e 100644
--- a/DuetPkg/BootSector/bs16.S
+++ b/DuetPkg/BootSector/bs16.S
@@ -18,7 +18,7 @@
#.MODEL small
.stack:
.486p:
- .code:
+ .code16:
.equ FAT_DIRECTORY_ENTRY_SIZE, 0x020
.equ FAT_DIRECTORY_ENTRY_SHIFT, 5
diff --git a/DuetPkg/BootSector/bs32.S b/DuetPkg/BootSector/bs32.S
index f2e3b91..72fa210 100644
--- a/DuetPkg/BootSector/bs32.S
+++ b/DuetPkg/BootSector/bs32.S
@@ -18,7 +18,7 @@
#.MODEL small
#.stack:
#.486p:
- #.code:
+ .code16:
.section .text
.equ FAT_DIRECTORY_ENTRY_SIZE, 0x0020
diff --git a/DuetPkg/BootSector/efi32.S b/DuetPkg/BootSector/efi32.S
index 421271c..7f9e77d 100644
--- a/DuetPkg/BootSector/efi32.S
+++ b/DuetPkg/BootSector/efi32.S
@@ -22,7 +22,7 @@
.486:
#.MODEL flat
.stack:
- .code:
+ .code16:
.org 0x21000
.equ DEFAULT_HANDLER_SIZE, INT1 - INT0