public interface CPUContext extends Context
| Modifier and Type | Method and Description |
|---|---|
void |
clearInterrupt(DeviceContext device,
int mask)
Cancel sending interrupt signal if it was not handled yet.
|
int |
getCPUFrequency()
Get CPU frequency in kHz
|
boolean |
isInterruptSupported()
Determine whether this CPU supports interrupts.
|
boolean |
isRawInterruptSupported()
Determine whether this CPU supports raw interrupts.
|
void |
signalInterrupt(DeviceContext device,
int mask)
Send interrupt signal to the CPU.
|
void |
signalRawInterrupt(DeviceContext device,
byte[] data)
Send raw interrupt signal to the CPU.
|
boolean isRawInterruptSupported()
void signalRawInterrupt(DeviceContext device, byte[] data)
device - Device that interrupts the CPUdata - interrupt databoolean isInterruptSupported()
void signalInterrupt(DeviceContext device, int mask)
device - Device that interrupts the CPUmask - interrupt maskvoid clearInterrupt(DeviceContext device, int mask)
device - Device that wants to cancel the interrupt signalmask - clear interrupt maskint getCPUFrequency()
Copyright © 2017. All rights reserved.