• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#------------------------------------------------------------------------------
2#
3# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
4# This program and the accompanying materials
5# are licensed and made available under the terms and conditions of the BSD License
6# which accompanies this distribution.  The full text of the license may be found at
7# http://opensource.org/licenses/bsd-license.php.
8#
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11#
12# Abstract:
13#
14#  SEC CAR function
15#
16#------------------------------------------------------------------------------
17
18#-----------------------------------------------------------------------------
19#
20#  Section:     SecCarInit
21#
22#  Description: This function initializes the Cache for Data, Stack, and Code
23#
24#-----------------------------------------------------------------------------
25ASM_GLOBAL ASM_PFX(SecCarInit)
26ASM_PFX(SecCarInit):
27
28  #
29  # Set up CAR
30  #
31
32  xor     %eax, %eax
33
34SecCarInitExit:
35
36  movd       %mm7, %esi                      #RET_ESI
37  jmp        *%esi
38