Remove .rept directive to improve portability.
we might have to replace them with copies. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9171 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -203,13 +203,80 @@ INT19:
|
||||
JmpCommonIdtEntry
|
||||
|
||||
INTUnknown:
|
||||
.rept (32 - 20)
|
||||
# The following segment repeats (32 - 20) times:
|
||||
# No. 1
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
.endr
|
||||
# No. 2
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
# No. 3
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
# No. 4
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
# No. 5
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
# No. 6
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
# No. 7
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
# No. 8
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
# No. 9
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
# No. 10
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
# No. 11
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
# No. 12
|
||||
push $0x0 # push error code place holder on the stack
|
||||
# push xxh # push vector number
|
||||
.byte 0x6a
|
||||
.byte ( . - INTUnknown - 3 ) / 9 + 20 # vector number
|
||||
JmpCommonIdtEntry
|
||||
|
||||
|
||||
ASM_GLOBAL ASM_PFX(SystemTimerHandler)
|
||||
ASM_PFX(SystemTimerHandler):
|
||||
@@ -717,13 +784,80 @@ SIMD_EXCEPTION_SEL = .-IDT_BASE
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
|
||||
.rept (32 - 20)
|
||||
# The following segment repeats (32 - 20) times:
|
||||
# No. 1
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
.endr
|
||||
# No. 2
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
# No. 3
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
# No. 4
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
# No. 5
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
# No. 6
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
# No. 7
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
# No. 8
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
# No. 9
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
# No. 10
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
# No. 11
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
# No. 12
|
||||
.short 0 # offset 15:0
|
||||
.short SYS_CODE_SEL # selector 15:0
|
||||
.byte 0 # 0 for interrupt gate
|
||||
.byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
|
||||
.short 0 # offset 31:16
|
||||
|
||||
|
||||
# 72 unspecified descriptors
|
||||
.fill 72 * 8, 1, 0
|
||||
|
Reference in New Issue
Block a user