Home
last modified time | relevance | path

Searched refs:interruptNo (Results 1 – 3 of 3) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/IRQControllers/
DMPC5567_INTC.cs129 private byte HandlePriorityRead(long interruptNo) in HandlePriorityRead() argument
133 return priorities[interruptNo]; in HandlePriorityRead()
137 private void HandlePriorityWrite(long interruptNo, byte value) in HandlePriorityWrite() argument
141 priorities[interruptNo] = value; in HandlePriorityWrite()
145 private void HandleSoftwareSetClearWrite(long interruptNo, byte value) in HandleSoftwareSetClearWrite() argument
155 OnGPIO((int)interruptNo, true); in HandleSoftwareSetClearWrite()
159 OnGPIO((int)interruptNo, false); in HandleSoftwareSetClearWrite()
DMSCM.cs38 var interruptNo = (offset - RoutingControlStart) / 2; in ReadWord()
41 …return (ushort)((routingTable[interruptNo] ? 1u : 0u) + (routingTable[NumberOfInterrupts + interru… in ReadWord()
52 var interruptNo = (offset - RoutingControlStart) / 2; in WriteWord()
57 …his.DebugLog("Interrupt no {0} set to be routed to CPU0: {1}, CPU1: {2}", interruptNo, cpu0, cpu1); in WriteWord()
58 routingTable[interruptNo] = cpu0; in WriteWord()
59 routingTable[NumberOfInterrupts + interruptNo] = cpu1; in WriteWord()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm-M/
DNVIC.cs1551 private int AdjustPriority(int interruptNo) in AdjustPriority() argument
1553 byte priority = priorities[interruptNo]; in AdjustPriority()
1569 if(IsInterruptTargetNonSecure(interruptNo)) in AdjustPriority()
1578 private bool IsInterruptTargetNonSecure(int interruptNo) in IsInterruptTargetNonSecure() argument
1584 if(bankedInterrupts.Contains(interruptNo)) in IsInterruptTargetNonSecure()
1586 return (interruptNo & BankedExcpSecureBit) == 0; in IsInterruptTargetNonSecure()
1589 …if((interruptNo == (int)SystemException.HardFault_S || interruptNo == (int)SystemException.HardFau… in IsInterruptTargetNonSecure()
1592 return (interruptNo & BankedExcpSecureBit) == 0; in IsInterruptTargetNonSecure()
1594 … return targetInterruptSecurityState[interruptNo] == InterruptTargetSecurityState.NonSecure; in IsInterruptTargetNonSecure()