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