gic_v3_redistributor.hh (13996:8a567118e670) | gic_v3_redistributor.hh (14231:222f6512335e) |
---|---|
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; --- 196 unchanged lines hidden (view full) --- 205 void writeEntryLPI(uint32_t intid, uint8_t lpi_entry); 206 bool isPendingLPI(uint32_t intid); 207 void setClrLPI(uint64_t data, bool set); 208 void reset(); 209 void sendSGI(uint32_t int_id, Gicv3::GroupId group, bool ns); 210 void serialize(CheckpointOut & cp) const override; 211 void unserialize(CheckpointIn & cp) override; 212 void update(); | 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; --- 196 unchanged lines hidden (view full) --- 205 void writeEntryLPI(uint32_t intid, uint8_t lpi_entry); 206 bool isPendingLPI(uint32_t intid); 207 void setClrLPI(uint64_t data, bool set); 208 void reset(); 209 void sendSGI(uint32_t int_id, Gicv3::GroupId group, bool ns); 210 void serialize(CheckpointOut & cp) const override; 211 void unserialize(CheckpointIn & cp) override; 212 void update(); |
213 void updateAndInformCPUInterface(); | 213 void updateDistributor(); |
214 215 public: 216 217 Gicv3Redistributor(Gicv3 * gic, uint32_t cpu_id); 218 uint32_t getAffinity() const; 219 void init(); 220 void initState(); 221 uint64_t read(Addr addr, size_t size, bool is_secure_access); 222 void sendPPInt(uint32_t int_id); 223 void write(Addr addr, uint64_t data, size_t size, bool is_secure_access); 224}; 225 226#endif //__DEV_ARM_GICV3_REDISTRIBUTOR_H__ | 214 215 public: 216 217 Gicv3Redistributor(Gicv3 * gic, uint32_t cpu_id); 218 uint32_t getAffinity() const; 219 void init(); 220 void initState(); 221 uint64_t read(Addr addr, size_t size, bool is_secure_access); 222 void sendPPInt(uint32_t int_id); 223 void write(Addr addr, uint64_t data, size_t size, bool is_secure_access); 224}; 225 226#endif //__DEV_ARM_GICV3_REDISTRIBUTOR_H__ |