]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFspPkg/Library/SecFspSecPlatformLibNull/Ia32/SecCarInit.asm
IntelFspPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / IntelFspPkg / Library / SecFspSecPlatformLibNull / Ia32 / SecCarInit.asm
CommitLineData
9da59186
JY
1;; @file\r
2; SEC CAR function\r
3;\r
4; Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
16a16ea6 5; SPDX-License-Identifier: BSD-2-Clause-Patent\r
9da59186
JY
6;;\r
7\r
8;\r
9; Define assembler characteristics\r
10;\r
11.586p\r
12.xmm\r
13.model flat, c\r
14\r
15RET_ESI MACRO\r
16\r
17 movd esi, mm7 ; move ReturnAddress from MM7 to ESI\r
18 jmp esi\r
19\r
20ENDM\r
21\r
22.code \r
23\r
24;-----------------------------------------------------------------------------\r
25;\r
26; Section: SecCarInit\r
27;\r
28; Description: This function initializes the Cache for Data, Stack, and Code\r
29;\r
30;-----------------------------------------------------------------------------\r
31SecCarInit PROC NEAR PUBLIC\r
32\r
33 ;\r
34 ; Set up CAR\r
35 ;\r
36\r
37 xor eax, eax\r
38\r
39SecCarInitExit:\r
40\r
41 RET_ESI\r
42\r
43SecCarInit ENDP\r
44\r
45END\r