gic_v3_distributor.hh (14168:2a96e30b9400) | gic_v3_distributor.hh (14231:222f6512335e) |
---|---|
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 --- 208 unchanged lines hidden (view full) --- 217 { 218 return !DS && !is_secure_access && getIntGroup(int_id) != Gicv3::G1NS; 219 } 220 221 void reset(); 222 void serialize(CheckpointOut & cp) const override; 223 void unserialize(CheckpointIn & cp) override; 224 void update(); | 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 --- 208 unchanged lines hidden (view full) --- 217 { 218 return !DS && !is_secure_access && getIntGroup(int_id) != Gicv3::G1NS; 219 } 220 221 void reset(); 222 void serialize(CheckpointOut & cp) const override; 223 void unserialize(CheckpointIn & cp) override; 224 void update(); |
225 void updateAndInformCPUInterfaces(); | 225 Gicv3CPUInterface* route(uint32_t int_id); |
226 227 public: 228 229 Gicv3Distributor(Gicv3 * gic, uint32_t it_lines); 230 231 void deassertSPI(uint32_t int_id); | 226 227 public: 228 229 Gicv3Distributor(Gicv3 * gic, uint32_t it_lines); 230 231 void deassertSPI(uint32_t int_id); |
232 void clearIrqCpuInterface(uint32_t int_id); |
|
232 void init(); 233 void initState(); 234 uint64_t read(Addr addr, size_t size, bool is_secure_access); 235 void sendInt(uint32_t int_id); 236 void write(Addr addr, uint64_t data, size_t size, 237 bool is_secure_access); 238}; 239 240#endif //__DEV_ARM_GICV3_DISTRIBUTOR_H__ | 233 void init(); 234 void initState(); 235 uint64_t read(Addr addr, size_t size, bool is_secure_access); 236 void sendInt(uint32_t int_id); 237 void write(Addr addr, uint64_t data, size_t size, 238 bool is_secure_access); 239}; 240 241#endif //__DEV_ARM_GICV3_DISTRIBUTOR_H__ |