]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/X64/Long64.nasm
IntelFsp2Pkg: SecFspSecPlatformLibNull support for X64
[mirror_edk2.git] / IntelFsp2Pkg / Library / SecFspSecPlatformLibNull / X64 / Long64.nasm
1 ;; @file
2 ; This is the code that performs early platform initialization.
3 ; It consumes the reset vector, configures the stack.
4 ;
5 ; Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
6 ; SPDX-License-Identifier: BSD-2-Clause-Patent
7 ;;
8
9 ;
10 ; Define assembler characteristics
11 ;
12
13 extern ASM_PFX(TempRamInitApi)
14
15 SECTION .text
16
17 %macro RET_RSI 0
18
19 movd rsi, mm7 ; restore RSI from MM7
20 jmp rsi
21
22 %endmacro
23
24 ;
25 ; Perform early platform initialization
26 ;
27 global ASM_PFX(SecPlatformInit)
28 ASM_PFX(SecPlatformInit):
29
30 RET_RSI
31