X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=DuetPkg%2FBootSector%2Fbs32.S;h=25845173865effb2c9d3dded9175de466ec034b6;hb=aa5f60ae41f0fa1b4816071704ab6669b0fe94c1;hp=d768518e85c3a144a184f5a0045b224512f7cc65;hpb=b1f700a8593435e2bdc8f9b3dc21bced4774c80f;p=mirror_edk2.git diff --git a/DuetPkg/BootSector/bs32.S b/DuetPkg/BootSector/bs32.S index d768518e85..2584517386 100644 --- a/DuetPkg/BootSector/bs32.S +++ b/DuetPkg/BootSector/bs32.S @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ #* -#* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.
+#* Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
#* This program and the accompanying materials #* are licensed and made available under the terms and conditions of the BSD License #* which accompanies this distribution. The full text of the license may be found at @@ -31,7 +31,7 @@ .equ LOADER_FILENAME_PART3, 0x20202030 # "0___" .org 0x0 -.global _start +.global _start _start: Ia32Jump: jmp BootSectorEntryPoint # JMP inst - 3 bytes @@ -207,7 +207,7 @@ PrintString: movw %ax, %es movw $0x7c0, %ax movw %ax, %ds - movw $7, %cx + movw $6, %cx movw $160, %di rep movsw @@ -288,15 +288,15 @@ Halt: jmp Halt StartString: - .byte 'B', 0x0c, 'S', 0x0c, 't', 0x0c, 'a', 0x0c, 'r', 0x0c, 't', 0x0c, '!', 0x0c + .byte 'B', 0x0c, 'S', 0x0c, 't', 0x0c, 'a', 0x0c, 'r', 0x0c, 't', 0x0c ErrorString: - .byte 'B', 0x0c, 'E', 0x0c, 'r', 0x0c, 'r', 0x0c, 'o', 0x0c, 'r', 0x0c, '!', 0x0c + .byte 'B', 0x0c, 'E', 0x0c, 'r', 0x0c, 'r', 0x0c, 'o', 0x0c, 'r', 0x0c # **************************************************************************** # LBA Offset for BootSector, need patched by tool for HD boot. # **************************************************************************** - #.org 0x01fa + .org 0x01fa LBAOffsetForBootSector: .long 0x0 @@ -304,7 +304,7 @@ LBAOffsetForBootSector: # Sector Signature # **************************************************************************** - #.org 0x01fe + .org 0x01fe SectorSignature: .word 0xaa55 # Boot Sector Signature