1;; @file 2; SEC CAR function 3; 4; Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> 5; This program and the accompanying materials 6; are licensed and made available under the terms and conditions of the BSD License 7; which accompanies this distribution. The full text of the license may be found at 8; http://opensource.org/licenses/bsd-license.php. 9; 10; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12;; 13 14; 15; Define assembler characteristics 16; 17 18%macro RET_ESI 0 19 20 movd esi, mm7 ; move ReturnAddress from MM7 to ESI 21 jmp esi 22 23%endmacro 24 25SECTION .text 26 27;----------------------------------------------------------------------------- 28; 29; Section: SecCarInit 30; 31; Description: This function initializes the Cache for Data, Stack, and Code 32; 33;----------------------------------------------------------------------------- 34global ASM_PFX(SecCarInit) 35ASM_PFX(SecCarInit): 36 37 ; 38 ; Set up CAR 39 ; 40 41 xor eax, eax 42 43SecCarInitExit: 44 45 RET_ESI 46 47