X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=DuetPkg%2FBootSector%2Fefi32.S;h=ebbc4509509cbd66798767cb4e5501692506719e;hb=bb52ec2d6b76b043cd70f277887519f09f36b55a;hp=7f9e77dea7f8f523ccf5035ae8397c6c7984bb39;hpb=0375ec8d8f643a6c8c3238f22157592b44c6dba2;p=mirror_edk2.git diff --git a/DuetPkg/BootSector/efi32.S b/DuetPkg/BootSector/efi32.S index 7f9e77dea7..ebbc450950 100644 --- a/DuetPkg/BootSector/efi32.S +++ b/DuetPkg/BootSector/efi32.S @@ -1,7 +1,7 @@ #------------------------------------------------------------------------------ #* -#* Copyright 2006, Intel Corporation -#* All rights reserved. This program and the accompanying materials +#* Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+#* This program and the accompanying materials #* are licensed and made available under the terms and conditions of the BSD License #* which accompanies this distribution. The full text of the license may be found at #* http://opensource.org/licenses/bsd-license.php @@ -19,12 +19,11 @@ # Now in 32-bit protected mode. ############################################################################## - .486: - #.MODEL flat - .stack: - .code16: .org 0x21000 +.global _start +_start: + .equ DEFAULT_HANDLER_SIZE, INT1 - INT0 .macro jmpCommonIdtEntry @@ -34,10 +33,11 @@ # be done to maintain the consistency of the size # of entry points... .byte 0xe9 # jmp 16 bit relative - .long commonIdtEntry - . - 4 # A problem + .long commonIdtEntry - . - 4 # offset to jump to .endm Start: + movw %bx, %ax movw %ax, %ds movw %ax, %es movw %ax, %fs @@ -57,10 +57,10 @@ Start: movl (Idtr + 2), %esi movl (%esi), %edi -LOOP_1: # loop through all IDT entries exception handlers and initialize to default handler +LOOP_1: # loop through all IDT entries exception handlers and initialize to default handler movw %bx, (%edi) # write bits 15..0 of offset movw $0x20, 2(%edi) # SYS_CODE_SEL from GDT - movw $(0x0e00 | 0x8000), 4(%edi) # type = 386 interrupt gate, present + movw $(0x0e00 | 0x8000), 4(%edi) # type = 386 interrupt gate, present movw %ax, 6(%edi) # write bits 31..16 of offset addl $8, %edi # move up to next descriptor addw DEFAULT_HANDLER_SIZE, %bx # move to next entry point @@ -140,9 +140,9 @@ SectionLoop: cmpw $0, %bx jne SectionLoop - movzwl Idtr, %eax # get size of IDT + movzwl (Idtr), %eax # get size of IDT incl %eax - addl Idtr + 2, %eax # add to base of IDT to get location of memory map... + addl (Idtr + 2), %eax # add to base of IDT to get location of memory map... pushl %eax # push memory map location on stack for call to EFILDR... pushl %eax # push return address (useless, just for stack balance) @@ -154,7 +154,7 @@ EfiLdrOffset: ret # db "**** DEFAULT IDT ENTRY ***",0 - .align 0x2 + .p2align 1 Halt: INT0: pushl $0x0 # push error code place holder on the stack @@ -273,13 +273,608 @@ INT19: jmpCommonIdtEntry INTUnknown: -.rept (0x78 - 20) +# The following segment repeats (0x78 - 20) times: +# No. 1 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 2 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 3 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 4 pushl $0x0 # push error code place holder on the stack # push $0xxx # push vector number .byte 0x6a .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number jmpCommonIdtEntry -.endr +# No. 5 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 6 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 7 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 8 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 9 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 10 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 11 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 12 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 13 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 14 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 15 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 16 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 17 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 18 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 19 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 20 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 21 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 22 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 23 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 24 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 25 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 26 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 27 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 28 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 29 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 30 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 31 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 32 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 33 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 34 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 35 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 36 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 37 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 38 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 39 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 40 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 41 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 42 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 43 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 44 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 45 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 46 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 47 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 48 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 49 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 50 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 51 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 52 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 53 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 54 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 55 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 56 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 57 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 58 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 59 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 60 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 61 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 62 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 63 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 64 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 65 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 66 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 67 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 68 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 69 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 70 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 71 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 72 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 73 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 74 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 75 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 76 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 77 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 78 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 79 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 80 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 81 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 82 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 83 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 84 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 85 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 86 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 87 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 88 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 89 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 90 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 91 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 92 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 93 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 94 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 95 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 96 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 97 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 98 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 99 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry +# No. 100 + pushl $0x0 # push error code place holder on the stack +# push $0xxx # push vector number + .byte 0x6a + .long ( . - INTUnknown - 3 ) / 9 + 20 # vector number + jmpCommonIdtEntry + commonIdtEntry: pushal @@ -505,7 +1100,7 @@ ClearScreen: pushl %eax pushl %ecx - movb ' ', %al + movb $0x00, %al movb $0xc, %ah movl $0xb8000, %edi movl $80*24, %ecx