Home
last modified time | relevance | path

Searched refs:interrupts (Results 1 – 8 of 8) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/IRQControllers/
DAINTC.cs23 interrupts = new InterruptStatus[64]; in AINTC()
89 Array.Clear(interrupts, 0, interrupts.Length); in Reset()
98 lock(interrupts) in OnGPIO()
102 interrupts[number] |= InterruptStatus.Running; in OnGPIO()
103 interrupts[number] |= InterruptStatus.Pending; in OnGPIO()
107 interrupts[number] &= ~InterruptStatus.Running; in OnGPIO()
140 for(var i = 0; i < interrupts.Length; i++) in Update()
170 lock(interrupts) in ReadStatusRegister()
174 var status = interrupts[32 * number + i]; in ReadStatusRegister()
186 lock(interrupts) in WriteStatusRegister()
[all …]
DPL190_VIC.cs24 interrupts = new Interrupt[NumberOfInputLines]; in PL190_VIC()
25 for(var i = 0; i < interrupts.Length; i++) in PL190_VIC()
27 interrupts[i] = new Interrupt(i); in PL190_VIC()
43 foreach(var interrupt in interrupts) in Reset()
59 interrupts[id].PinState = state; in OnGPIO()
92 var lineStatus = interrupts[id].IsActive; in UpdateInterrupts()
103 if(interrupts[id].IsIrq) in UpdateInterrupts()
105 activeInterrupts.Enqueue(interrupts[id], interrupts[id].Priority); in UpdateInterrupts()
115 var fiq = interrupts.Any(intr => intr.IsFiq && intr.IsActive); in RefreshIrqFiqState()
124 …, 32, FieldMode.Read, valueProviderCallback: (idx, _) => interrupts[idx].IsActive && interrupts[id… in DefineRegisters()
[all …]
DGaislerMIC.cs44 interrupts[i] = new Dictionary<int, int>(); in GaislerMIC()
238 lock(interrupts[cpuid]) in WriteDoubleWord()
294 lock(interrupts[i]) in OnGPIO()
313 lock(interrupts[i]) in OnGPIO()
380 lock(interrupts[i]) in forwardInterrupt()
427 lock(interrupts[cpuid]) in CPUGetInterrupt()
429 if(interrupts[cpuid].Any()) in CPUGetInterrupt()
432 var interrupt = interrupts[cpuid].OrderByDescending(x => x.Value).First().Key; in CPUGetInterrupt()
454 lock(interrupts[cpuid]) in CPUAckInterrupt()
460 … var extendedInt = interrupts[cpuid].Keys.FirstOrDefault(IsExtendedInterruptNumber); in CPUAckInterrupt()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/X86/
DLAPIC.cs36 interrupts[(int)localTimerVector.Value] |= IRQState.Pending; in LAPIC()
57 if((interrupts[number] & IRQState.Running) == 0) in OnGPIO()
59 interrupts[number] |= IRQState.Pending; in OnGPIO()
62 interrupts[number] |= IRQState.Running; in OnGPIO()
66 interrupts[number] &= ~IRQState.Running; in OnGPIO()
96 …return BitHelper.GetValueFromBitsArray(interrupts.Skip(regNumber * 32).Take(32).Select(x => (x & f… in ReadDoubleWord()
114 interrupts = new IRQState[availableVectors]; in Reset()
125 interrupts[result] |= IRQState.Active; in GetPendingInterrupt()
126 interrupts[result] &= ~IRQState.Pending; in GetPendingInterrupt()
322 interrupts[activeIRQ] &= ~IRQState.Active; in EndOfInterrupt()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/GPIOPort/
DGaisler_GPIO.cs48 interrupts = new IGPIO[numberOfInterrupts]; in Gaisler_GPIO()
51 interrupts[i] = Connections[numberOfConnections + i]; in Gaisler_GPIO()
61 foreach(var interrupt in interrupts) in Reset()
162 interrupts[it].Blink(); in UpdateInterrupt()
167 interrupts[it].Set(interruptState); in UpdateInterrupt()
190 private readonly IGPIO[] interrupts; field in Antmicro.Renode.Peripherals.GPIOPort.Gaisler_GPIO
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DInterruptManager.cs96 if(!subvectors.TryGetValue(gpio, out HashSet<TInterrupt> interrupts)) in InterruptManager()
98 interrupts = new HashSet<TInterrupt>(); in InterruptManager()
99 subvectors.Add(gpio, interrupts); in InterruptManager()
103 interrupts.Add(interrupt); in InterruptManager()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/
DZynqMP_PlatformManagementUnit.cs90 var interrupts = GetInterruptsSourcesAndClearMaskedChannels(targetChannelId); in ProcessInterruptsOnIpiChannel()
93 … if(sourceChannelId != ZynqMP_IPI.ChannelId.None && interrupts.HasFlag(sourceChannelId)) in ProcessInterruptsOnIpiChannel()
117 …vate void ClearInterruptsOnChannel(ZynqMP_IPI.ChannelId channelId, ZynqMP_IPI.ChannelId interrupts) in ClearInterruptsOnChannel() argument
124 … if(sourceChannelId != ZynqMP_IPI.ChannelId.None && interrupts.HasFlag(sourceChannelId)) in ClearInterruptsOnChannel()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/
DARM_GenericInterruptController.cs762 …(!target.SoftwareGeneratedInterruptsLegacyRequester.TryGetValue(requestingCPU, out var interrupts)) in OnSGILegacyRouting()
768 var interrupt = interrupts[irqId]; in OnSGILegacyRouting()
894 IEnumerable<SharedInterrupt> interrupts = sharedInterrupts.Values; in GetSharedInterruptsTargetingCPU()
898 return interrupts; in GetSharedInterruptsTargetingCPU()
902 return interrupts.Where(irq => in GetSharedInterruptsTargetingCPU()
907 return interrupts.Where(irq => in GetSharedInterruptsTargetingCPU()