]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2Pkg/FspSecCore/Ia32/ReadEsp.nasm
IntelFsp2Pkg: FSP can utilize bootloader stack
[mirror_edk2.git] / IntelFsp2Pkg / FspSecCore / Ia32 / ReadEsp.nasm
1 ;; @file
2 ; Provide read ESP function
3 ;
4 ; Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
5 ; This program and the accompanying materials
6 ; are licensed and made available under the terms and conditions of the BSD License
7 ; which accompanies this distribution. The full text of the license may be found at
8 ; http://opensource.org/licenses/bsd-license.php.
9 ;
10 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 ;;
13 ;------------------------------------------------------------------------------
14
15 SECTION .text
16
17 ;------------------------------------------------------------------------------
18 ; UINT32
19 ; EFIAPI
20 ; AsmReadEsp (
21 ; VOID
22 ; );
23 ;------------------------------------------------------------------------------
24 global ASM_PFX(AsmReadEsp)
25 ASM_PFX(AsmReadEsp):
26 mov eax, esp
27 ret
28