]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Core/DxeIplX64Peim/x64/LongMode.asm
Remove IDT
[mirror_edk2.git] / EdkModulePkg / Core / DxeIplX64Peim / x64 / LongMode.asm
index ae87bd83e4b78ce4d9429cd12deedd544cf4668a..a241273048d429525ffa1411e5d335111898d6c9 100644 (file)
@@ -290,1061 +290,5 @@ SPARE4_SEL  equ $-GDT_BASE            ; Selector [0x40]
 
 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