isa.cc (13499:7f9d435bac22) | isa.cc (13502:7803bd430e0e) |
---|---|
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 --- 645 unchanged lines hidden (view full) --- 654 // Set the bits for unimplemented coprocessors to RAO/WI 655 val |= 0x33FF; 656 return (val); 657 } 658 case MISCREG_HDFAR: // alias for secure DFAR 659 return readMiscRegNoEffect(MISCREG_DFAR_S); 660 case MISCREG_HIFAR: // alias for secure IFAR 661 return readMiscRegNoEffect(MISCREG_IFAR_S); | 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 --- 645 unchanged lines hidden (view full) --- 654 // Set the bits for unimplemented coprocessors to RAO/WI 655 val |= 0x33FF; 656 return (val); 657 } 658 case MISCREG_HDFAR: // alias for secure DFAR 659 return readMiscRegNoEffect(MISCREG_DFAR_S); 660 case MISCREG_HIFAR: // alias for secure IFAR 661 return readMiscRegNoEffect(MISCREG_IFAR_S); |
662 case MISCREG_HVBAR: // bottom bits reserved 663 return readMiscRegNoEffect(MISCREG_HVBAR) & 0xFFFFFFE0; 664 case MISCREG_SCTLR: 665 return (readMiscRegNoEffect(misc_reg) & 0x72DD39FF) | 0x00C00818; 666 case MISCREG_SCTLR_EL1: 667 return (readMiscRegNoEffect(misc_reg) & 0x37DDDBBF) | 0x30D00800; 668 case MISCREG_SCTLR_EL2: 669 case MISCREG_SCTLR_EL3: 670 case MISCREG_HSCTLR: 671 return (readMiscRegNoEffect(misc_reg) & 0x32CD183F) | 0x30C50830; | |
672 673 case MISCREG_ID_PFR0: 674 // !ThumbEE | !Jazelle | Thumb | ARM 675 return 0x00000031; 676 case MISCREG_ID_PFR1: 677 { // Timer | Virti | !M Profile | TrustZone | ARMv4 678 bool haveTimer = (system->getGenericTimer() != NULL); 679 return 0x00000001 --- 1331 unchanged lines hidden --- | 662 663 case MISCREG_ID_PFR0: 664 // !ThumbEE | !Jazelle | Thumb | ARM 665 return 0x00000031; 666 case MISCREG_ID_PFR1: 667 { // Timer | Virti | !M Profile | TrustZone | ARMv4 668 bool haveTimer = (system->getGenericTimer() != NULL); 669 return 0x00000001 --- 1331 unchanged lines hidden --- |