isa.hh (12479:c686e4a1fe8f) | isa.hh (12529:d110a01d2689) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2010, 2012-2017 ARM Limited | 2 * Copyright (c) 2010, 2012-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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 613 unchanged lines hidden (view full) --- 624 lower += S && miscRegInfo[lower][MISCREG_BANKED_CHILD]; 625 upper += S && miscRegInfo[upper][MISCREG_BANKED_CHILD]; 626 return std::make_pair(lower, upper); 627 } 628 629 void serialize(CheckpointOut &cp) const 630 { 631 DPRINTF(Checkpoint, "Serializing Arm Misc Registers\n"); | 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated --- 613 unchanged lines hidden (view full) --- 624 lower += S && miscRegInfo[lower][MISCREG_BANKED_CHILD]; 625 upper += S && miscRegInfo[upper][MISCREG_BANKED_CHILD]; 626 return std::make_pair(lower, upper); 627 } 628 629 void serialize(CheckpointOut &cp) const 630 { 631 DPRINTF(Checkpoint, "Serializing Arm Misc Registers\n"); |
632 SERIALIZE_ARRAY(miscRegs, NumMiscRegs); | 632 SERIALIZE_ARRAY(miscRegs, NUM_PHYS_MISCREGS); |
633 634 SERIALIZE_SCALAR(highestELIs64); 635 SERIALIZE_SCALAR(haveSecurity); 636 SERIALIZE_SCALAR(haveLPAE); 637 SERIALIZE_SCALAR(haveVirtualization); 638 SERIALIZE_SCALAR(haveLargeAsid64); 639 SERIALIZE_SCALAR(physAddrRange64); 640 } 641 void unserialize(CheckpointIn &cp) 642 { 643 DPRINTF(Checkpoint, "Unserializing Arm Misc Registers\n"); | 633 634 SERIALIZE_SCALAR(highestELIs64); 635 SERIALIZE_SCALAR(haveSecurity); 636 SERIALIZE_SCALAR(haveLPAE); 637 SERIALIZE_SCALAR(haveVirtualization); 638 SERIALIZE_SCALAR(haveLargeAsid64); 639 SERIALIZE_SCALAR(physAddrRange64); 640 } 641 void unserialize(CheckpointIn &cp) 642 { 643 DPRINTF(Checkpoint, "Unserializing Arm Misc Registers\n"); |
644 UNSERIALIZE_ARRAY(miscRegs, NumMiscRegs); | 644 UNSERIALIZE_ARRAY(miscRegs, NUM_PHYS_MISCREGS); |
645 CPSR tmp_cpsr = miscRegs[MISCREG_CPSR]; 646 updateRegMap(tmp_cpsr); 647 648 UNSERIALIZE_SCALAR(highestELIs64); 649 UNSERIALIZE_SCALAR(haveSecurity); 650 UNSERIALIZE_SCALAR(haveLPAE); 651 UNSERIALIZE_SCALAR(haveVirtualization); 652 UNSERIALIZE_SCALAR(haveLargeAsid64); --- 38 unchanged lines hidden --- | 645 CPSR tmp_cpsr = miscRegs[MISCREG_CPSR]; 646 updateRegMap(tmp_cpsr); 647 648 UNSERIALIZE_SCALAR(highestELIs64); 649 UNSERIALIZE_SCALAR(haveSecurity); 650 UNSERIALIZE_SCALAR(haveLPAE); 651 UNSERIALIZE_SCALAR(haveVirtualization); 652 UNSERIALIZE_SCALAR(haveLargeAsid64); --- 38 unchanged lines hidden --- |