summaryrefslogtreecommitdiff
path: root/DuetPkg/CpuDxe
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-21 01:50:48 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-21 01:50:48 +0000
commit08b1f48660aa8e1dbe091f7c40c8b2052c6146fe (patch)
treed3fa69ccdd25015e17a44b5817f1e9e7cd75536c /DuetPkg/CpuDxe
parent64674889d4f20435c0e40fc7a3a1271701b51dfa (diff)
downloadedk2-platforms-08b1f48660aa8e1dbe091f7c40c8b2052c6146fe.tar.xz
Use .fill directive to improve portability.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9168 6f19259b-4bc3-4df7-8a09-765794883524
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: