diff options
Diffstat (limited to 'IntelFsp2Pkg/FspSecCore/X64/ReadRsp.nasm')
-rw-r--r-- | IntelFsp2Pkg/FspSecCore/X64/ReadRsp.nasm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/IntelFsp2Pkg/FspSecCore/X64/ReadRsp.nasm b/IntelFsp2Pkg/FspSecCore/X64/ReadRsp.nasm new file mode 100644 index 0000000000..af82509803 --- /dev/null +++ b/IntelFsp2Pkg/FspSecCore/X64/ReadRsp.nasm @@ -0,0 +1,22 @@ +;; @file
+; Provide read RSP function
+;
+; Copyright (c) 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 rax, rsp
+ ret
+
|