smmu_v3.cc (14039:4991b2a345a1) smmu_v3.cc (14064:870553bad072)
1/*
2 * Copyright (c) 2013, 2018-2019 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

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

736 .name(name() + ".ptwTimeDist")
737 .desc("Time to walk page tables")
738 .flags(pdf);
739}
740
741DrainState
742SMMUv3::drain()
743{
1/*
2 * Copyright (c) 2013, 2018-2019 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

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

736 .name(name() + ".ptwTimeDist")
737 .desc("Time to walk page tables")
738 .flags(pdf);
739}
740
741DrainState
742SMMUv3::drain()
743{
744 panic("SMMUv3 doesn't support draining\n");
744 // Wait until the Command Executor is not busy
745 if (commandExecutor.isBusy()) {
746 return DrainState::Draining;
747 }
748 return DrainState::Drained;
745}
746
747void
748SMMUv3::serialize(CheckpointOut &cp) const
749{
750 DPRINTF(Checkpoint, "Serializing SMMUv3\n");
751
752 SERIALIZE_ARRAY(regs.data, sizeof(regs.data) / sizeof(regs.data[0]));

--- 29 unchanged lines hidden ---
749}
750
751void
752SMMUv3::serialize(CheckpointOut &cp) const
753{
754 DPRINTF(Checkpoint, "Serializing SMMUv3\n");
755
756 SERIALIZE_ARRAY(regs.data, sizeof(regs.data) / sizeof(regs.data[0]));

--- 29 unchanged lines hidden ---