mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-02-12 08:53:08 +01:00
kern: clear gicd/gicc pointers in KInterruptController::Finalize
This commit is contained in:
parent
3d178950e8
commit
c6b2692168
@ -79,6 +79,12 @@ namespace ams::kern::arch::arm {
|
|||||||
|
|
||||||
/* Setup all interrupt lines. */
|
/* Setup all interrupt lines. */
|
||||||
SetupInterruptLines(core_id);
|
SetupInterruptLines(core_id);
|
||||||
|
|
||||||
|
/* Clear pointers, if needed. */
|
||||||
|
if (core_id == 0) {
|
||||||
|
m_gicd = nullptr;
|
||||||
|
m_gicc = nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void KInterruptController::SaveCoreLocal(LocalState *state) const {
|
void KInterruptController::SaveCoreLocal(LocalState *state) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user