Use .fill directive to improve portability.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9168 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2009-08-21 01:50:48 +00:00
parent 64674889d4
commit 08b1f48660
2 changed files with 4 additions and 12 deletions

View File

@ -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:

View File

@ -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: