1/* 2 * Copyright (c) 2010-2018 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 740 unchanged lines hidden (view full) --- 749 750 MiscReg old_val = readMiscRegNoEffect(MISCREG_CPACR); 751 newVal &= cpacrMask; 752 newVal |= old_val & ~cpacrMask; 753 DPRINTF(MiscRegs, "Writing misc reg %s: %#x\n", 754 miscRegName[misc_reg], newVal); 755 } 756 break; |
757 case MISCREG_CPTR_EL2: 758 { 759 const uint32_t ones = (uint32_t)(-1); 760 CPTR cptrMask = 0; 761 cptrMask.tcpac = ones; 762 cptrMask.tta = ones; 763 cptrMask.tfp = ones; 764 newVal &= cptrMask; --- 1182 unchanged lines hidden --- |