Deleted Added
sdiff udiff text old ( 12109:f29e9c5418aa ) new ( 12403:7be05f61abf3 )
full compact
1/*
2 * Copyright (c) 2010-2014, 2016 ARM Limited
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating
9 * to a hardware implementation of the functionality of the software
10 * licensed hereunder. You may use the software subject to the license

--- 719 unchanged lines hidden (view full) ---

730 HCPTR cptrEnCheck = tc->readMiscReg(MISCREG_CPTR_EL3);
731 if (cptrEnCheck.tfp)
732 return advSIMDFPAccessTrap64(EL3);
733 }
734
735 return NoFault;
736}
737
738
739static uint8_t
740getRestoredITBits(ThreadContext *tc, CPSR spsr)
741{
742 // See: shared/functions/system/RestoredITBits in the ARM ARM
743
744 const ExceptionLevel el = opModeToEL((OperatingMode) (uint8_t)spsr.mode);
745 const uint8_t it = itState(spsr);
746

--- 104 unchanged lines hidden ---