]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/bootsect.S
Fix Duet hang/reboot issue due to the NULL instance of CpuExceptionHandlerLib is...
[mirror_edk2.git] / DuetPkg / BootSector / bootsect.S
index 91a1966c9b5cae6088aef11fca57643b94828495..5993a1ac99310cb5875e18431598483b3b486881 100644 (file)
@@ -1,7 +1,7 @@
 #------------------------------------------------------------------------------\r
 #*\r
-#*   Copyright 2006 - 2007, Intel Corporation                                                         \r
-#*   All rights reserved. This program and the accompanying materials                          \r
+#*   Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+#*   This program and the accompanying materials                          \r
 #*   are licensed and made available under the terms and conditions of the BSD License         \r
 #*   which accompanies this distribution.  The full text of the license may be found at        \r
 #*   http://opensource.org/licenses/bsd-license.php                                            \r
@@ -42,8 +42,8 @@
 .equ                      LOADER_FILENAME_PART2, 0x020205244    # "DR__"\r
 .equ                      LOADER_FILENAME_PART3, 0x020202020    # "____"\r
 \r
-        .org 0x0
-.global _start
+        .org 0x0\r
+.global _start\r
 _start:\r
 Ia32Jump: \r
   jmp   BootSectorEntryPoint  # JMP inst                  - 3 bytes\r
@@ -129,7 +129,7 @@ BootSectorEntryPoint:
   xorw  %bx, %bx\r
 \r
 FindEFILDR: \r
-       cmpl   $LOADER_FILENAME_PART1, (%di)        # Compare to "EFIL"\r
+  cmpl   $LOADER_FILENAME_PART1, (%di)        # Compare to "EFIL"\r
   jne   FindVARSTORE\r
   cmpl   $LOADER_FILENAME_PART2, 4(%di) \r
   jne   FindVARSTORE\r