utility.cc (10037:5cac77888310) | utility.cc (10103:af1ec649e251) |
---|---|
1/* 2 * Copyright (c) 2009-2013 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 --- 690 unchanged lines hidden (view full) --- 699 } 700 return trapToMon; 701} 702 703bool 704decodeMrsMsrBankedReg(uint8_t sysM, bool r, bool &isIntReg, int ®Idx, 705 CPSR cpsr, SCR scr, NSACR nsacr, bool checkSecurity) 706{ | 1/* 2 * Copyright (c) 2009-2013 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 --- 690 unchanged lines hidden (view full) --- 699 } 700 return trapToMon; 701} 702 703bool 704decodeMrsMsrBankedReg(uint8_t sysM, bool r, bool &isIntReg, int ®Idx, 705 CPSR cpsr, SCR scr, NSACR nsacr, bool checkSecurity) 706{ |
707 OperatingMode mode; | 707 OperatingMode mode = MODE_UNDEFINED; |
708 bool ok = true; 709 710 // R mostly indicates if its a int register or a misc reg, we override 711 // below if the few corner cases 712 isIntReg = !r; 713 // Loosely based on ARM ARM issue C section B9.3.10 714 if (r) { 715 switch (sysM) --- 254 unchanged lines hidden --- | 708 bool ok = true; 709 710 // R mostly indicates if its a int register or a misc reg, we override 711 // below if the few corner cases 712 isIntReg = !r; 713 // Loosely based on ARM ARM issue C section B9.3.10 714 if (r) { 715 switch (sysM) --- 254 unchanged lines hidden --- |