2015-04-23 10:52:21 +02:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:04:08 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2015-04-23 10:52:21 +02:00
|
|
|
#
|
|
|
|
# Abstract:
|
|
|
|
#
|
|
|
|
# SEC CAR function
|
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Section: SecCarInit
|
|
|
|
#
|
|
|
|
# Description: This function initializes the Cache for Data, Stack, and Code
|
|
|
|
#
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
ASM_GLOBAL ASM_PFX(SecCarInit)
|
|
|
|
ASM_PFX(SecCarInit):
|
|
|
|
|
|
|
|
#
|
|
|
|
# Set up CAR
|
|
|
|
#
|
|
|
|
|
|
|
|
xor %eax, %eax
|
|
|
|
|
|
|
|
SecCarInitExit:
|
|
|
|
|
|
|
|
movd %mm7, %esi #RET_ESI
|
|
|
|
jmp *%esi
|