summaryrefslogtreecommitdiff
path: root/DuetPkg/BootSector
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-26 12:54:41 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-26 12:54:41 +0000
commit0375ec8d8f643a6c8c3238f22157592b44c6dba2 (patch)
tree257b7af1312e8d073f241c06637377cf203b4d01 /DuetPkg/BootSector
parent57b6de773d78bf627f71c7e9ecfa2d00f6ca2281 (diff)
boot sector use 16-bit code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7720 6f19259b-4bc3-4df7-8a09-765794883524
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 133a9c257..440732ee7 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 f2e3b9145..72fa21011 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 421271c51..7f9e77dea 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