Код: Выделить всё
Глава 8, Generic Interrupt Controller
The integrated GIC collates and arbitrates from a large number of interrupt sources
Код: Выделить всё
Zynq.ARM.Platform.Mod:
MpcoreBase* = адресВПамяти(0F8F00000H);
ICDDCR* = MpcoreBase + 1000H; (* distributor control register
Код: Выделить всё
ARM.Machine.Mod/InitInterrupts:
НИЗКОУР.запиши32битаПоАдресу(Platform.ICDDCR, 0);
НИЗКОУР.запиши32битаПоАдресу(Platform.ICDDCR, {EnableSecure, EnableNonSecure});
Т.е. не выглядит катастрофически страшным.