]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Use .fill directive to improve portability.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 21 Aug 2009 01:50:48 +0000 (01:50 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 21 Aug 2009 01:50:48 +0000 (01:50 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9168 6f19259b-4bc3-4df7-8a09-765794883524

DuetPkg/CpuDxe/Ia32/CpuInterrupt.S
DuetPkg/CpuDxe/X64/CpuInterrupt.S

index 350dfa02935259ed21712a0b19181b974e2dedfb..7af1dd11e333acc13f2b742b0b1b78af10b8a99e 100644 (file)
@@ -691,9 +691,7 @@ SIMD_EXCEPTION_SEL  = .-IDT_BASE
        .endr\r
 \r
 # 72 unspecified descriptors\r
-       .rept 72 * 8\r
-        .byte 0\r
-       .endr\r
+       .fill 72 * 8, 1, 0\r
         \r
 # IRQ 0 (System timer) - (INT 0x68)\r
 IRQ0_SEL            = .-IDT_BASE\r
@@ -823,9 +821,7 @@ IRQ15_SEL            = .-IDT_BASE
         .byte 0x0e | 0x80   # (10001110)type = 386 interrupt gate, present\r
         .short 0            # offset 31:16\r
 \r
-       .rept 1 * 8\r
-        .byte 0\r
-       .endr\r
+       .fill 1 * 8, 1, 0\r
 \r
 IDT_END:\r
 \r
index 1b350309d0bd1ccf6aec9b5afd16c5f1683ab0f7..6e60b0d538459ed858c5a7071c651831dded0935 100755 (executable)
@@ -726,9 +726,7 @@ SIMD_EXCEPTION_SEL  = .-IDT_BASE
        .endr\r
 \r
 # 72 unspecified descriptors\r
-       .rept 72 * 8\r
-        .byte 0\r
-       .endr\r
+       .fill 72 * 8, 1, 0\r
         \r
 # IRQ 0 (System timer) - (INT 0x68)\r
 IRQ0_SEL            = .-IDT_BASE\r
@@ -858,9 +856,7 @@ IRQ15_SEL            = .-IDT_BASE
         .byte 0x0e | 0x80   # (10001110)type = 386 interrupt gate, present\r
         .short 0            # offset 31:16\r
 \r
-       .rept 1 * 16\r
-        .byte 0\r
-       .endr\r
+       .fill 16, 1, 0\r
 \r
 IDT_END:\r
 \r