isa.cc (11793:ef606668d247) isa.cc (11809:61c625151d9a)
1/*
2 * Copyright (c) 2010-2016 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

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

589 warn_once("The clidr register always reports 0 caches.\n");
590 warn_once("clidr LoUIS field of 0b001 to match current "
591 "ARM implementations.\n");
592 return 0x00200000;
593 case MISCREG_CCSIDR:
594 warn_once("The ccsidr register isn't implemented and "
595 "always reads as 0.\n");
596 break;
1/*
2 * Copyright (c) 2010-2016 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

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

589 warn_once("The clidr register always reports 0 caches.\n");
590 warn_once("clidr LoUIS field of 0b001 to match current "
591 "ARM implementations.\n");
592 return 0x00200000;
593 case MISCREG_CCSIDR:
594 warn_once("The ccsidr register isn't implemented and "
595 "always reads as 0.\n");
596 break;
597 case MISCREG_CTR:
597 case MISCREG_CTR: // AArch32, ARMv7, top bit set
598 case MISCREG_CTR_EL0: // AArch64
598 {
599 //all caches have the same line size in gem5
600 //4 byte words in ARM
601 unsigned lineSizeWords =
602 tc->getSystemPtr()->cacheLineSize() / 4;
603 unsigned log2LineSizeWords = 0;
604
605 while (lineSizeWords >>= 1) {

--- 1403 unchanged lines hidden ---
599 {
600 //all caches have the same line size in gem5
601 //4 byte words in ARM
602 unsigned lineSizeWords =
603 tc->getSystemPtr()->cacheLineSize() / 4;
604 unsigned log2LineSizeWords = 0;
605
606 while (lineSizeWords >>= 1) {

--- 1403 unchanged lines hidden ---