]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/CpuDxe/X64/CpuInterrupt.S
Use .fill directive to improve portability.
[mirror_edk2.git] / DuetPkg / CpuDxe / X64 / CpuInterrupt.S
index 1b350309d0bd1ccf6aec9b5afd16c5f1683ab0f7..6e60b0d538459ed858c5a7071c651831dded0935 100755 (executable)
@@ -726,9 +726,7 @@ SIMD_EXCEPTION_SEL  = .-IDT_BASE
        .endr\r
 \r
 # 72 unspecified descriptors\r
-       .rept 72 * 8\r
-        .byte 0\r
-       .endr\r
+       .fill 72 * 8, 1, 0\r
         \r
 # IRQ 0 (System timer) - (INT 0x68)\r
 IRQ0_SEL            = .-IDT_BASE\r
@@ -858,9 +856,7 @@ IRQ15_SEL            = .-IDT_BASE
         .byte 0x0e | 0x80   # (10001110)type = 386 interrupt gate, present\r
         .short 0            # offset 31:16\r
 \r
-       .rept 1 * 16\r
-        .byte 0\r
-       .endr\r
+       .fill 16, 1, 0\r
 \r
 IDT_END:\r
 \r