]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Sec/Ia32/SecEntry.asm
OVMF SEC: Modify to match new interface of reset vector module
[mirror_edk2.git] / OvmfPkg / Sec / Ia32 / SecEntry.asm
index 48b97a40f9ba97928a5bd75479fe92faeeb2521f..eae2801d18cd08d95636c2db9f10c31c28a2d1bc 100644 (file)
 EXTERN SecCoreStartupWithStack:PROC\r
 \r
 ;\r
-;  SecCore Entry Point\r
+; SecCore Entry Point\r
 ;\r
-;  Processor is in flat protected mode\r
+; Processor is in flat protected mode\r
 ;\r
-;  @param  ESI  Pointer to SEC Core Entry Point (this function)\r
-;  @param  EDI  Pointer to PEI Core Entry Point\r
-;  @param  EBP  Pointer to the start of the Boot Firmware Volume\r
-;\r
-;  @return None\r
+; @param[in]  EAX   Initial value of the EAX register (BIST: Built-in Self Test)\r
+; @param[in]  DI    'BP': boot-strap processor, or 'AP': application processor\r
+; @param[in]  EBP   Pointer to the start of the Boot Firmware Volume\r
 ;\r
+; @return     None  This routine does not return\r
 ;\r
 _ModuleEntryPoint PROC PUBLIC\r
 \r
@@ -50,8 +49,6 @@ _ModuleEntryPoint PROC PUBLIC
     ; Call into C code\r
     ;\r
     push    eax\r
-    push    edi\r
-    push    esi\r
     push    ebp\r
     call    SecCoreStartupWithStack\r
 \r