]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/BootSector/st16_64.S
Detab in DuetPkg
[mirror_edk2.git] / DuetPkg / BootSector / st16_64.S
index d68613b1b693c9f1251a3d0fb212d6cdfb5a7135..d863f53840386d614708a0be2fade64e27684502 100644 (file)
@@ -74,7 +74,7 @@ BootSectorEntryPoint:
 NoVarStore: \r
         pushw   %es\r
 # Set the 5th byte start @ 0:19000 to non-zero indicating we should init var store header in DxeIpl\r
-                               movb    %al, %es:(4)\r
+        movb    %al, %es:(4)\r
         jmp     SaveVolumeId\r
 \r
 CheckVarStoreSize: \r
@@ -232,7 +232,7 @@ ReadCylinderLoop:
         movw    $0x7bfc,%bp                         # bp = 0x7bfc\r
         movl    %esi,%eax                           # eax = Start LBA\r
         xorl    %edx,%edx                           # edx = 0\r
-                               movzwl  (%bp), %ebx                         # bx = MaxSector\r
+        movzwl  (%bp), %ebx                         # bx = MaxSector\r
         divl    %ebx                                # ax = StartLBA / MaxSector\r
         incw    %dx                                 # dx = (StartLBA % MaxSector) + 1\r
 \r
@@ -354,7 +354,7 @@ MemMapLoop:
 MemMapDone: \r
         leal MemoryMap, %eax\r
         subl %eax,%edi                      # Get the address of the memory map\r
-                               movl %edi, MemoryMapSize            # Save the size of the memory map\r
+        movl %edi, MemoryMapSize            # Save the size of the memory map\r
 \r
         xorl    %ebx,%ebx\r
         movw    %cs,%bx                     # BX=segment\r
@@ -416,7 +416,7 @@ A20GateEnabled:
 \r
     leal OffsetIn32BitProtectedMode, %eax\r
     addl $0x20000+0x6,%eax\r
-               movl %eax, OffsetIn32BitProtectedMode \r
+    movl %eax, OffsetIn32BitProtectedMode \r
 \r
     leal OffsetInLongMode, %eax\r
     addl $0x20000+0x6,%eax\r
@@ -582,7 +582,7 @@ Empty8042Loop:
 \r
         .p2align 1\r
 \r
-                               gdtr:    .long  GDT_END - GDT_BASE - 1  # GDT limit \r
+        gdtr:    .long  GDT_END - GDT_BASE - 1  # GDT limit \r
         .long 0                     # (GDT base gets set above)\r
 ##############################################################################\r
 #   global descriptor table (GDT)\r
@@ -701,366 +701,366 @@ idtr:   .long  IDT_END - IDT_BASE - 1 # IDT limit
 IDT_BASE: \r
 # divide by zero (INT 0)\r
 .equ                DIV_ZERO_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # debug exception (INT 1)\r
 .equ                DEBUG_EXCEPT_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # NMI (INT 2)\r
 .equ                NMI_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # soft breakpoint (INT 3)\r
 .equ                BREAKPOINT_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # overflow (INT 4)\r
 .equ                OVERFLOW_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # bounds check (INT 5)\r
 .equ                BOUNDS_CHECK_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # invalid opcode (INT 6)\r
 .equ                INVALID_OPCODE_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # device not available (INT 7)\r
 .equ                DEV_NOT_AVAIL_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # double fault (INT 8)\r
 .equ                DOUBLE_FAULT_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # Coprocessor segment overrun - reserved (INT 9)\r
 .equ                RSVD_INTR_SEL1, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # invalid TSS (INT 0ah)\r
 .equ                INVALID_TSS_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # segment not present (INT 0bh)\r
 .equ                SEG_NOT_PRESENT_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # stack fault (INT 0ch)\r
 .equ                STACK_FAULT_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # general protection (INT 0dh)\r
 .equ                GP_FAULT_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # page fault (INT 0eh)\r
 .equ                PAGE_FAULT_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # Intel reserved - do not use (INT 0fh)\r
 .equ                RSVD_INTR_SEL2, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # floating point error (INT 10h)\r
 .equ                FLT_POINT_ERR_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # alignment check (INT 11h)\r
 .equ                ALIGNMENT_CHECK_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # machine check (INT 12h)\r
 .equ                MACHINE_CHECK_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # SIMD floating-point exception (INT 13h)\r
 .equ                SIMD_EXCEPTION_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # 85 unspecified descriptors, First 12 of them are reserved, the rest are avail\r
-                               .fill 85 * 16, 1, 0   # db (85 * 16) dup(0)\r
+        .fill 85 * 16, 1, 0   # db (85 * 16) dup(0)\r
 \r
 # IRQ 0 (System timer) - (INT 68h)\r
 .equ                IRQ0_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 1 (8042 Keyboard controller) - (INT 69h)\r
 .equ                IRQ1_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # Reserved - IRQ 2 redirect (IRQ 2) - DO NOT USE!!! - (INT 6ah)\r
 .equ                IRQ2_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 3 (COM 2) - (INT 6bh)\r
 .equ                IRQ3_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 4 (COM 1) - (INT 6ch)\r
 .equ                IRQ4_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 5 (LPT 2) - (INT 6dh)\r
 .equ                IRQ5_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 6 (Floppy controller) - (INT 6eh)\r
 .equ                IRQ6_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 7 (LPT 1) - (INT 6fh)\r
 .equ                IRQ7_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 8 (RTC Alarm) - (INT 70h)\r
 .equ                IRQ8_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 9 - (INT 71h)\r
 .equ                IRQ9_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 10 - (INT 72h)\r
 .equ                 IRQ10_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 11 - (INT 73h)\r
 .equ                 IRQ11_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 12 (PS/2 mouse) - (INT 74h)\r
 .equ                 IRQ12_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 13 (Floating point error) - (INT 75h)\r
 .equ                 IRQ13_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 14 (Secondary IDE) - (INT 76h)\r
 .equ                 IRQ14_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 # IRQ 15 (Primary IDE) - (INT 77h)\r
 .equ                 IRQ15_SEL, .-IDT_BASE\r
-        .word 0                          # offset 15:0\r
+        .word 0               # offset 15:0\r
         .long SYS_CODE64_SEL  # selector 15:0\r
         .byte 0               # 0 for interrupt gate\r
         .byte 0x0e | 0x80     # type = 386 interrupt gate, present\r
-        .word 0                          # offset 31:16\r
-        .long 0                          # offset 63:32\r
-        .long 0                          # 0 for reserved\r
+        .word 0               # offset 31:16\r
+        .long 0               # offset 63:32\r
+        .long 0               # 0 for reserved\r
 \r
 IDT_END: \r
 \r
@@ -1101,7 +1101,7 @@ MemoryMap:  .long 0,0,0,0,0,0,0,0
         .long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\r
         .long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\r
 \r
-                               #.org 0x0fe0  #Just for pass build\r
+        #.org 0x0fe0  #Just for pass build\r
 MyStack:    \r
         # below is the pieces of the IVT that is used to redirect INT 68h - 6fh\r
         #    back to INT 08h - 0fh  when in real mode...  It is 'org'ed to a\r
@@ -1133,7 +1133,7 @@ MyStack:
         iret\r
 \r
 \r
-                               #.org 0x0ffe #Just for pass build\r
+        #.org 0x0ffe #Just for pass build\r
 BlockSignature: \r
         .word 0xaa55\r
 \r