gic_v3.cc (13996:8a567118e670) | gic_v3.cc (14258:c75d22c32dec) |
---|---|
1/* | 1/* |
2 * Copyright (c) 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated 11 * unmodified and in its entirety in all distributions of the software, 12 * modified or unmodified, in source code or in binary form. 13 * |
|
2 * Copyright (c) 2018 Metempsy Technology Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; 9 * redistributions in binary form must reproduce the above copyright --- 69 unchanged lines hidden (view full) --- 79 cpuInterfaces[i]->init(); 80 } 81 82 params()->its->setGIC(this); 83 84 BaseGic::init(); 85} 86 | 14 * Copyright (c) 2018 Metempsy Technology Consulting 15 * All rights reserved. 16 * 17 * Redistribution and use in source and binary forms, with or without 18 * modification, are permitted provided that the following conditions are 19 * met: redistributions of source code must retain the above copyright 20 * notice, this list of conditions and the following disclaimer; 21 * redistributions in binary form must reproduce the above copyright --- 69 unchanged lines hidden (view full) --- 91 cpuInterfaces[i]->init(); 92 } 93 94 params()->its->setGIC(this); 95 96 BaseGic::init(); 97} 98 |
87void 88Gicv3::initState() 89{ 90 distributor->initState(); 91 92 for (int i = 0; i < sys->numContexts(); i++) { 93 redistributors[i]->initState(); 94 cpuInterfaces[i]->initState(); 95 } 96} 97 | |
98Tick 99Gicv3::read(PacketPtr pkt) 100{ 101 const Addr addr = pkt->getAddr(); 102 const size_t size = pkt->getSize(); 103 bool is_secure_access = pkt->isSecure(); 104 uint64_t resp = 0; 105 Tick delay = 0; --- 176 unchanged lines hidden --- | 99Tick 100Gicv3::read(PacketPtr pkt) 101{ 102 const Addr addr = pkt->getAddr(); 103 const size_t size = pkt->getSize(); 104 bool is_secure_access = pkt->isSecure(); 105 uint64_t resp = 0; 106 Tick delay = 0; --- 176 unchanged lines hidden --- |