Deleted Added
sdiff udiff text old ( 13996:8a567118e670 ) new ( 14258:c75d22c32dec )
full compact
1/*
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
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 ---