--- /dev/null
+;; @file\r
+; This is the code that performs early platform initialization.\r
+; It consumes the reset vector, configures the stack.\r
+;\r
+; Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
+; SPDX-License-Identifier: BSD-2-Clause-Patent\r
+;;\r
+\r
+;\r
+; Define assembler characteristics\r
+;\r
+\r
+extern ASM_PFX(TempRamInitApi)\r
+\r
+SECTION .text\r
+\r
+%macro RET_RSI 0\r
+\r
+ movd rsi, mm7 ; restore RSI from MM7\r
+ jmp rsi\r
+\r
+%endmacro\r
+\r
+;\r
+; Perform early platform initialization\r
+;\r
+global ASM_PFX(SecPlatformInit)\r
+ASM_PFX(SecPlatformInit):\r
+\r
+ RET_RSI\r
+\r