GDT_END:
-;
-;
-;------------------------------------------------------------------------------
-; Generic IDT Vector Handlers for the Host. They are all the same so they
-; will compress really well.
-;
-; By knowing the return address for Vector 00 you can can calculate the
-; vector number by looking at the call CommonInterruptEntry return address.
-; (return address - AsmIdtVector00Base)/8 == IDT index
-;
-;------------------------------------------------------------------------------
-
-_AsmIdtVector00 PROC NEAR PUBLIC
- call CommonInterruptEntry
-_AsmIdtVector00 ENDP
-AsmIdtVector00Base PROC NEAR PUBLIC
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
- call CommonInterruptEntry
- nop
- nop
- nop
-AsmIdtVector00Base ENDP
-
-
-;---------------------------------------;
-; CommonInterruptEntry ;
-;---------------------------------------;
-; The follow algorithm is used for the common interrupt routine.
-; TBD: Save EFI_SYSTEM_CONTEXT_x64 on the stack per AP definition
-;
-;
-CommonInterruptEntry PROC NEAR PUBLIC
- cli
- jmp $
- iret
-
-CommonInterruptEntry ENDP
-
END