From 0375ec8d8f643a6c8c3238f22157592b44c6dba2 Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 26 Feb 2009 12:54:41 +0000 Subject: boot sector use 16-bit code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7720 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/BootSector/bs16.S | 2 +- DuetPkg/BootSector/bs32.S | 2 +- DuetPkg/BootSector/efi32.S | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'DuetPkg/BootSector') diff --git a/DuetPkg/BootSector/bs16.S b/DuetPkg/BootSector/bs16.S index 133a9c2570..440732ee72 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 f2e3b91454..72fa21011b 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 421271c516..7f9e77dea7 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 -- cgit v1.2.3