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