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