summaryrefslogtreecommitdiff
path: root/IntelFsp2Pkg/FspSecCore/Ia32/ReadEsp.nasm
blob: d6bbf9cc7573de209a084628567047288a16ab1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;; @file
;  Provide read ESP function
;
; Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;;
;------------------------------------------------------------------------------

    SECTION .text

;------------------------------------------------------------------------------
; UINTN
; EFIAPI
; AsmReadStackPointer (
;   VOID
;   );
;------------------------------------------------------------------------------
global ASM_PFX(AsmReadStackPointer)
ASM_PFX(AsmReadStackPointer):
    mov     eax, esp
    ret