]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/bs16.S
UefiCpuPkg/MtrrLib: Add MtrrGetMemoryAttributeInVariableMtrrWorker ()
[mirror_edk2.git] / DuetPkg / BootSector / bs16.S
index 440732ee721ca4e548f16a8ccde893d9744cbca4..039e25666c00bc453beef910bcb3c6bfc30f4125 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
@@ -18,7 +18,7 @@
         #.MODEL small\r
         .stack: \r
         .486p: \r
-        .code16:  \r
+        .code16\r
 \r
 .equ                      FAT_DIRECTORY_ENTRY_SIZE, 0x020\r
 .equ                      FAT_DIRECTORY_ENTRY_SHIFT, 5\r
@@ -30,8 +30,8 @@
 .equ                      LOADER_FILENAME_PART2, 0x036315244    # "DR16"\r
 .equ                      LOADER_FILENAME_PART3, 0x020202036    # "6___"\r
 \r
-        .org 0x0
-.global _start
+        .org 0x0\r
+.global _start\r
 _start:\r
 Ia32Jump: \r
   jmp   BootSectorEntryPoint  # JMP inst                  - 3 bytes\r
@@ -119,7 +119,7 @@ BootSectorEntryPoint:
 FindEFILDR: \r
   cmpl   $LOADER_FILENAME_PART1, (%di)        # Compare to "EFIL"\r
   jne   FindVARSTORE\r
-       cmpl   $LOADER_FILENAME_PART2, 4(%di) \r
+  cmpl   $LOADER_FILENAME_PART2, 4(%di) \r
   jne   FindVARSTORE\r
   cmpl   $LOADER_FILENAME_PART3, 7(%di) \r
   jne   FindVARSTORE\r
@@ -275,7 +275,7 @@ ErrorString:
 # LBA Offset for BootSector, need patched by tool for HD boot.\r
 # ****************************************************************************\r
 \r
-  # .org 0x01fa # Comment it for pass build. Should optimise code size. \r
+  .org 0x01fa\r
 LBAOffsetForBootSector: \r
   .long     0x0\r
 \r
@@ -283,7 +283,7 @@ LBAOffsetForBootSector:
 # Sector Signature\r
 # ****************************************************************************\r
 \r
-  # .org 0x01fe # Comment it for pass build. Should optimise code size. \r
+  .org 0x01fe\r
 SectorSignature: \r
   .word     0xaa55      # Boot Sector Signature\r
 \r