summaryrefslogtreecommitdiff
path: root/DuetPkg/CpuDxe
diff options
context:
space:
mode:
Diffstat (limited to 'DuetPkg/CpuDxe')
-rw-r--r--DuetPkg/CpuDxe/Ia32/CpuInterrupt.S8
-rwxr-xr-xDuetPkg/CpuDxe/X64/CpuInterrupt.S8
2 files changed, 4 insertions, 12 deletions
diff --git a/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S b/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S
index 350dfa0293..7af1dd11e3 100644
--- a/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S
+++ b/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S
@@ -691,9 +691,7 @@ SIMD_EXCEPTION_SEL = .-IDT_BASE
.endr
# 72 unspecified descriptors
- .rept 72 * 8
- .byte 0
- .endr
+ .fill 72 * 8, 1, 0
# IRQ 0 (System timer) - (INT 0x68)
IRQ0_SEL = .-IDT_BASE
@@ -823,9 +821,7 @@ IRQ15_SEL = .-IDT_BASE
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
.short 0 # offset 31:16
- .rept 1 * 8
- .byte 0
- .endr
+ .fill 1 * 8, 1, 0
IDT_END:
diff --git a/DuetPkg/CpuDxe/X64/CpuInterrupt.S b/DuetPkg/CpuDxe/X64/CpuInterrupt.S
index 1b350309d0..6e60b0d538 100755
--- a/DuetPkg/CpuDxe/X64/CpuInterrupt.S
+++ b/DuetPkg/CpuDxe/X64/CpuInterrupt.S
@@ -726,9 +726,7 @@ SIMD_EXCEPTION_SEL = .-IDT_BASE
.endr
# 72 unspecified descriptors
- .rept 72 * 8
- .byte 0
- .endr
+ .fill 72 * 8, 1, 0
# IRQ 0 (System timer) - (INT 0x68)
IRQ0_SEL = .-IDT_BASE
@@ -858,9 +856,7 @@ IRQ15_SEL = .-IDT_BASE
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
.short 0 # offset 31:16
- .rept 1 * 16
- .byte 0
- .endr
+ .fill 16, 1, 0
IDT_END: