diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-21 02:51:09 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-21 02:51:09 +0000 |
commit | b29a823d91ac4d8abd87e58172e32d7b0b43be8d (patch) | |
tree | 5db0ace4fe4eca735fc60e4f17e6583f8b39ffe5 /DuetPkg/CpuDxe | |
parent | 10b48963c887398c0fd3313de0996808d51b1afc (diff) | |
download | edk2-platforms-b29a823d91ac4d8abd87e58172e32d7b0b43be8d.tar.xz |
Detab in DuetPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9170 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/CpuDxe')
-rw-r--r-- | DuetPkg/CpuDxe/Ia32/CpuInterrupt.S | 36 | ||||
-rwxr-xr-x | DuetPkg/CpuDxe/X64/CpuInterrupt.S | 36 |
2 files changed, 36 insertions, 36 deletions
diff --git a/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S b/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S index 7af1dd11e3..ae44efca78 100644 --- a/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S +++ b/DuetPkg/CpuDxe/Ia32/CpuInterrupt.S @@ -23,12 +23,12 @@ #EXTERN ExceptionHandler: NEAR
#EXTERN mTimerVector: DWORD
- .data
- ASM_GLOBAL ASM_PFX(mExceptionCodeSize)
+ .data
+ ASM_GLOBAL ASM_PFX(mExceptionCodeSize)
ASM_PFX(mExceptionCodeSize): .long 9
- .text
- ASM_GLOBAL ASM_PFX(InitDescriptor)
+ .text
+ ASM_GLOBAL ASM_PFX(InitDescriptor)
ASM_PFX(InitDescriptor):
movl $GDT_BASE,%eax # EAX=PHYSICAL address of gdt
@@ -44,7 +44,7 @@ ASM_PFX(InitDescriptor): # UINTN Vector,
# VOID (*Handler)(VOID)
# )
- ASM_GLOBAL ASM_PFX(InstallInterruptHandler)
+ ASM_GLOBAL ASM_PFX(InstallInterruptHandler)
ASM_PFX(InstallInterruptHandler):
# Vector:DWORD @ 4(%esp)
# Handler:DWORD @ 8(%esp)
@@ -68,7 +68,7 @@ ASM_PFX(InstallInterruptHandler): pop %edi
ret
- .macro JmpCommonIdtEntry
+ .macro JmpCommonIdtEntry
# jmp commonIdtEntry - this must be hand coded to keep the assembler from
# using a 8 bit reletive jump when the entries are
# within 255 bytes of the common entry. This must
@@ -76,10 +76,10 @@ ASM_PFX(InstallInterruptHandler): # of entry points...
.byte 0xe9 # jmp 16 bit reletive
.long commonIdtEntry - . - 4 # offset to jump to
- .endm
+ .endm
.p2align 1
- ASM_GLOBAL ASM_PFX(SystemExceptionHandler)
+ ASM_GLOBAL ASM_PFX(SystemExceptionHandler)
ASM_PFX(SystemExceptionHandler):
INT0:
pushl $0x0 # push error code place holder on the stack
@@ -198,15 +198,15 @@ INT19: JmpCommonIdtEntry
INTUnknown:
- .rept (32 - 20)
+ .rept (32 - 20)
pushl $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
+ .endr
- ASM_GLOBAL ASM_PFX(SystemTimerHandler)
+ ASM_GLOBAL ASM_PFX(SystemTimerHandler)
ASM_PFX(SystemTimerHandler):
pushl $0
pushl $ASM_PFX(mTimerVector)
@@ -417,10 +417,10 @@ ExceptionDone: # data
#;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- .data
+ .data
.p2align 2
-gdtr: .short GDT_END - GDT_BASE - 1 # GDT limit
+gdtr: .short GDT_END - GDT_BASE - 1 # GDT limit
.long 0 # (GDT base gets set above)
#;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
# global descriptor table (GDT)
@@ -507,7 +507,7 @@ GDT_END: -idtr: .short IDT_END - IDT_BASE - 1 # IDT limit
+idtr: .short IDT_END - IDT_BASE - 1 # IDT limit
.long 0 # (IDT base gets set above)
#;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
# interrupt descriptor table (IDT)
@@ -682,16 +682,16 @@ SIMD_EXCEPTION_SEL = .-IDT_BASE .byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
.short 0 # offset 31:16
- .rept (32 - 20)
+ .rept (32 - 20)
.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
+ .endr
# 72 unspecified descriptors
- .fill 72 * 8, 1, 0
+ .fill 72 * 8, 1, 0
# IRQ 0 (System timer) - (INT 0x68)
IRQ0_SEL = .-IDT_BASE
@@ -821,7 +821,7 @@ IRQ15_SEL = .-IDT_BASE .byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
.short 0 # offset 31:16
- .fill 1 * 8, 1, 0
+ .fill 1 * 8, 1, 0
IDT_END:
diff --git a/DuetPkg/CpuDxe/X64/CpuInterrupt.S b/DuetPkg/CpuDxe/X64/CpuInterrupt.S index 6e60b0d538..4fdc3d3e28 100755 --- a/DuetPkg/CpuDxe/X64/CpuInterrupt.S +++ b/DuetPkg/CpuDxe/X64/CpuInterrupt.S @@ -23,12 +23,12 @@ #EXTERN ExceptionHandler: NEAR
#EXTERN mTimerVector: DWORD
- .data
- ASM_GLOBAL ASM_PFX(mExceptionCodeSize)
+ .data
+ ASM_GLOBAL ASM_PFX(mExceptionCodeSize)
ASM_PFX(mExceptionCodeSize): .long 9
- .text
- ASM_GLOBAL ASM_PFX(InitDescriptor)
+ .text
+ ASM_GLOBAL ASM_PFX(InitDescriptor)
ASM_PFX(InitDescriptor):
movq $GDT_BASE,%rax # EAX=PHYSICAL address of gdt
@@ -47,7 +47,7 @@ ASM_PFX(InitDescriptor): # UINTN Vector,
# VOID (*Handler)(VOID)
# )
- ASM_GLOBAL ASM_PFX(InstallInterruptHandler)
+ ASM_GLOBAL ASM_PFX(InstallInterruptHandler)
ASM_PFX(InstallInterruptHandler):
# Vector:DWORD @ 4(%esp)
# Handler:DWORD @ 8(%esp)
@@ -73,7 +73,7 @@ ASM_PFX(InstallInterruptHandler): pop %rbx
ret
- .macro JmpCommonIdtEntry
+ .macro JmpCommonIdtEntry
# jmp commonIdtEntry - this must be hand coded to keep the assembler from
# using a 8 bit reletive jump when the entries are
# within 255 bytes of the common entry. This must
@@ -81,10 +81,10 @@ ASM_PFX(InstallInterruptHandler): # of entry points...
.byte 0xe9 # jmp 16 bit reletive
.long commonIdtEntry - . - 4 # offset to jump to
- .endm
+ .endm
.p2align 1
- ASM_GLOBAL ASM_PFX(SystemExceptionHandler)
+ ASM_GLOBAL ASM_PFX(SystemExceptionHandler)
ASM_PFX(SystemExceptionHandler):
INT0:
push $0x0 # push error code place holder on the stack
@@ -203,15 +203,15 @@ INT19: JmpCommonIdtEntry
INTUnknown:
- .rept (32 - 20)
+ .rept (32 - 20)
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
+ .endr
- ASM_GLOBAL ASM_PFX(SystemTimerHandler)
+ ASM_GLOBAL ASM_PFX(SystemTimerHandler)
ASM_PFX(SystemTimerHandler):
push $0
push $ASM_PFX(mTimerVector)
@@ -452,10 +452,10 @@ ExceptionDone: # data
##############################################################################
- .data
+ .data
.p2align 4
-gdtr: .short GDT_END - GDT_BASE - 1 # GDT limit
+gdtr: .short GDT_END - GDT_BASE - 1 # GDT limit
.quad 0 # (GDT base gets set above)
##############################################################################
# global descriptor table (GDT)
@@ -542,7 +542,7 @@ GDT_END: -idtr: .short IDT_END - IDT_BASE - 1 # IDT limit
+idtr: .short IDT_END - IDT_BASE - 1 # IDT limit
.quad 0 # (IDT base gets set above)
##############################################################################
# interrupt descriptor table (IDT)
@@ -717,16 +717,16 @@ SIMD_EXCEPTION_SEL = .-IDT_BASE .byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
.short 0 # offset 31:16
- .rept (32 - 20)
+ .rept (32 - 20)
.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
+ .endr
# 72 unspecified descriptors
- .fill 72 * 8, 1, 0
+ .fill 72 * 8, 1, 0
# IRQ 0 (System timer) - (INT 0x68)
IRQ0_SEL = .-IDT_BASE
@@ -856,7 +856,7 @@ IRQ15_SEL = .-IDT_BASE .byte 0x0e | 0x80 # (10001110)type = 386 interrupt gate, present
.short 0 # offset 31:16
- .fill 16, 1, 0
+ .fill 16, 1, 0
IDT_END:
|