isa.cc (8870:f95c4042f2d0) isa.cc (8873:f349cc840cab)
1/*
2 * Copyright (c) 2010-2012 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

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

184 return cpsr;
185 }
186 if (misc_reg >= MISCREG_CP15_UNIMP_START)
187 panic("Unimplemented CP15 register %s read.\n",
188 miscRegName[misc_reg]);
189
190 switch (misc_reg) {
191 case MISCREG_MPIDR:
1/*
2 * Copyright (c) 2010-2012 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

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

184 return cpsr;
185 }
186 if (misc_reg >= MISCREG_CP15_UNIMP_START)
187 panic("Unimplemented CP15 register %s read.\n",
188 miscRegName[misc_reg]);
189
190 switch (misc_reg) {
191 case MISCREG_MPIDR:
192 return tc->cpuId();
192
193 return 0x80000000 | // multiprocessor extensions available
194 tc->cpuId();
193 break;
194 case MISCREG_ID_MMFR0:
195 return 0x03; // VMSAv7 support
196 case MISCREG_ID_MMFR2:
197 return 0x01230000; // no HW access | WFI stalling | ISB and DSB
198 // | all TLB maintenance | no Harvard
199 case MISCREG_ID_MMFR3:
200 return 0xF0102211; // SuperSec | Coherent TLB | Bcast Maint |

--- 414 unchanged lines hidden ---
195 break;
196 case MISCREG_ID_MMFR0:
197 return 0x03; // VMSAv7 support
198 case MISCREG_ID_MMFR2:
199 return 0x01230000; // no HW access | WFI stalling | ISB and DSB
200 // | all TLB maintenance | no Harvard
201 case MISCREG_ID_MMFR3:
202 return 0xF0102211; // SuperSec | Coherent TLB | Bcast Maint |

--- 414 unchanged lines hidden ---