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:
@@ -691,9 +691,7 @@ SIMD_EXCEPTION_SEL = .-IDT_BASE
|
|||||||
.endr
|
.endr
|
||||||
|
|
||||||
# 72 unspecified descriptors
|
# 72 unspecified descriptors
|
||||||
.rept 72 * 8
|
.fill 72 * 8, 1, 0
|
||||||
.byte 0
|
|
||||||
.endr
|
|
||||||
|
|
||||||
# IRQ 0 (System timer) - (INT 0x68)
|
# IRQ 0 (System timer) - (INT 0x68)
|
||||||
IRQ0_SEL = .-IDT_BASE
|
IRQ0_SEL = .-IDT_BASE
|
||||||
@@ -823,9 +821,7 @@ IRQ15_SEL = .-IDT_BASE
|
|||||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||||
.short 0 # offset 31:16
|
.short 0 # offset 31:16
|
||||||
|
|
||||||
.rept 1 * 8
|
.fill 1 * 8, 1, 0
|
||||||
.byte 0
|
|
||||||
.endr
|
|
||||||
|
|
||||||
IDT_END:
|
IDT_END:
|
||||||
|
|
||||||
|
@@ -726,9 +726,7 @@ SIMD_EXCEPTION_SEL = .-IDT_BASE
|
|||||||
.endr
|
.endr
|
||||||
|
|
||||||
# 72 unspecified descriptors
|
# 72 unspecified descriptors
|
||||||
.rept 72 * 8
|
.fill 72 * 8, 1, 0
|
||||||
.byte 0
|
|
||||||
.endr
|
|
||||||
|
|
||||||
# IRQ 0 (System timer) - (INT 0x68)
|
# IRQ 0 (System timer) - (INT 0x68)
|
||||||
IRQ0_SEL = .-IDT_BASE
|
IRQ0_SEL = .-IDT_BASE
|
||||||
@@ -858,9 +856,7 @@ IRQ15_SEL = .-IDT_BASE
|
|||||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||||
.short 0 # offset 31:16
|
.short 0 # offset 31:16
|
||||||
|
|
||||||
.rept 1 * 16
|
.fill 16, 1, 0
|
||||||
.byte 0
|
|
||||||
.endr
|
|
||||||
|
|
||||||
IDT_END:
|
IDT_END:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user