gic_v3.cc (13925:971b66c8acd7) | gic_v3.cc (13996:8a567118e670) |
---|---|
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; --- 21 unchanged lines hidden (view full) --- 30 31#include "dev/arm/gic_v3.hh" 32 33#include "cpu/intr_control.hh" 34#include "debug/GIC.hh" 35#include "debug/Interrupt.hh" 36#include "dev/arm/gic_v3_cpu_interface.hh" 37#include "dev/arm/gic_v3_distributor.hh" | 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; --- 21 unchanged lines hidden (view full) --- 30 31#include "dev/arm/gic_v3.hh" 32 33#include "cpu/intr_control.hh" 34#include "debug/GIC.hh" 35#include "debug/Interrupt.hh" 36#include "dev/arm/gic_v3_cpu_interface.hh" 37#include "dev/arm/gic_v3_distributor.hh" |
38#include "dev/arm/gic_v3_its.hh" |
|
38#include "dev/arm/gic_v3_redistributor.hh" 39#include "dev/platform.hh" 40#include "mem/packet.hh" 41#include "mem/packet_access.hh" 42 43Gicv3::Gicv3(const Params * p) 44 : BaseGic(p) 45{ --- 27 unchanged lines hidden (view full) --- 73 74 distributor->init(); 75 76 for (int i = 0; i < sys->numContexts(); i++) { 77 redistributors[i]->init(); 78 cpuInterfaces[i]->init(); 79 } 80 | 39#include "dev/arm/gic_v3_redistributor.hh" 40#include "dev/platform.hh" 41#include "mem/packet.hh" 42#include "mem/packet_access.hh" 43 44Gicv3::Gicv3(const Params * p) 45 : BaseGic(p) 46{ --- 27 unchanged lines hidden (view full) --- 74 75 distributor->init(); 76 77 for (int i = 0; i < sys->numContexts(); i++) { 78 redistributors[i]->init(); 79 cpuInterfaces[i]->init(); 80 } 81 |
82 params()->its->setGIC(this); 83 |
|
81 BaseGic::init(); 82} 83 84void 85Gicv3::initState() 86{ 87 distributor->initState(); 88 --- 190 unchanged lines hidden --- | 84 BaseGic::init(); 85} 86 87void 88Gicv3::initState() 89{ 90 distributor->initState(); 91 --- 190 unchanged lines hidden --- |