gic_v3_redistributor.hh (13756:12aa26df8c2f) gic_v3_redistributor.hh (13878:40a2ec55ad89)
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;

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

172
173 /*
174 * GICv3 defines only 2 64K consecutive frames for the redistributor
175 * (RD_base and SGI_base) but we are using 2 extra 64K stride frames
176 * to match GICv4 that defines 4 64K consecutive frames for them.
177 * Note this must match with DTB/DTS GIC node definition and boot
178 * loader code.
179 */
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;

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

172
173 /*
174 * GICv3 defines only 2 64K consecutive frames for the redistributor
175 * (RD_base and SGI_base) but we are using 2 extra 64K stride frames
176 * to match GICv4 that defines 4 64K consecutive frames for them.
177 * Note this must match with DTB/DTS GIC node definition and boot
178 * loader code.
179 */
180 static const uint32_t ADDR_RANGE_SIZE = 0x40000;
180 const uint32_t addrRangeSize;
181
182 static const uint32_t SMALLEST_LPI_ID = 8192;
183
184
185 void activateIRQ(uint32_t int_id);
186 bool canBeSelectedFor1toNInterrupt(Gicv3::GroupId group) const;
187 void deactivateIRQ(uint32_t int_id);
188

--- 29 unchanged lines hidden ---
181
182 static const uint32_t SMALLEST_LPI_ID = 8192;
183
184
185 void activateIRQ(uint32_t int_id);
186 bool canBeSelectedFor1toNInterrupt(Gicv3::GroupId group) const;
187 void deactivateIRQ(uint32_t int_id);
188

--- 29 unchanged lines hidden ---