gic_v3_distributor.hh (13756:12aa26df8c2f) | gic_v3_distributor.hh (13813:af0c48bcbf16) |
---|---|
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; --- 170 unchanged lines hidden (view full) --- 179 panic("Gicv3Distributor::groupEnabled(): " 180 "invalid group!\n"); 181 } 182 } 183 } 184 185 Gicv3::IntStatus intStatus(uint32_t int_id) const; 186 | 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; --- 170 unchanged lines hidden (view full) --- 179 panic("Gicv3Distributor::groupEnabled(): " 180 "invalid group!\n"); 181 } 182 } 183 } 184 185 Gicv3::IntStatus intStatus(uint32_t int_id) const; 186 |
187 inline bool isNotSPI(uint8_t int_id) const | 187 inline bool isNotSPI(uint32_t int_id) const |
188 { 189 if (int_id < (Gicv3::SGI_MAX + Gicv3::PPI_MAX) || int_id >= itLines) { 190 return true; 191 } else { 192 return false; 193 } 194 } 195 | 188 { 189 if (int_id < (Gicv3::SGI_MAX + Gicv3::PPI_MAX) || int_id >= itLines) { 190 return true; 191 } else { 192 return false; 193 } 194 } 195 |
196 inline bool nsAccessToSecInt(uint8_t int_id, bool is_secure_access) const | 196 inline bool nsAccessToSecInt(uint32_t int_id, bool is_secure_access) const |
197 { 198 return !DS && !is_secure_access && getIntGroup(int_id) != Gicv3::G1NS; 199 } 200 201 void reset(); 202 void serialize(CheckpointOut & cp) const override; 203 void unserialize(CheckpointIn & cp) override; 204 void update(); --- 16 unchanged lines hidden --- | 197 { 198 return !DS && !is_secure_access && getIntGroup(int_id) != Gicv3::G1NS; 199 } 200 201 void reset(); 202 void serialize(CheckpointOut & cp) const override; 203 void unserialize(CheckpointIn & cp) override; 204 void update(); --- 16 unchanged lines hidden --- |