diff options
Diffstat (limited to 'UefiPayloadPkg/UefiPayloadEntry/Ia32/SecEntry.nasm')
-rw-r--r-- | UefiPayloadPkg/UefiPayloadEntry/Ia32/SecEntry.nasm | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/UefiPayloadPkg/UefiPayloadEntry/Ia32/SecEntry.nasm b/UefiPayloadPkg/UefiPayloadEntry/Ia32/SecEntry.nasm deleted file mode 100644 index fa5ed15..0000000 --- a/UefiPayloadPkg/UefiPayloadEntry/Ia32/SecEntry.nasm +++ /dev/null @@ -1,46 +0,0 @@ -;------------------------------------------------------------------------------
-;*
-;* Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
-;* SPDX-License-Identifier: BSD-2-Clause-Patent
-
-;------------------------------------------------------------------------------
-
-#include <Base.h>
-
-SECTION .text
-
-extern ASM_PFX(PayloadEntry)
-extern ASM_PFX(PcdGet32 (PcdPayloadStackTop))
-
-;
-; SecCore Entry Point
-;
-; Processor is in flat protected mode
-
-global ASM_PFX(_ModuleEntryPoint)
-ASM_PFX(_ModuleEntryPoint):
-
- ;
- ; Disable all the interrupts
- ;
- cli
-
- ;
- ; Save the bootloader parameter base address
- ;
- mov eax, [esp + 4]
-
- mov esp, FixedPcdGet32 (PcdPayloadStackTop)
-
- ;
- ; Push the bootloader parameter address onto new stack
- ;
- push 0
- push eax
-
- ;
- ; Call into C code
- ;
- call ASM_PFX(PayloadEntry)
- jmp $
-
|