From 08b1f48660aa8e1dbe091f7c40c8b2052c6146fe Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Fri, 21 Aug 2009 01:50:48 +0000 Subject: Use .fill directive to improve portability. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9168 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/CpuDxe/Ia32/CpuInterrupt.S | 8 ++------ DuetPkg/CpuDxe/X64/CpuInterrupt.S | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'DuetPkg/CpuDxe') 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: -- cgit v1.2.3