struct InterruptDucati_IntInfo |
|
typedef struct InterruptDucati_IntInfo {
UInt localIntId;
UInt remoteIntId;
UInt intVectorId;
} InterruptDucati_IntInfo;
config InterruptDucati_ducatiCtrlBaseAddr // module-wide |
|
extern const UInt32 InterruptDucati_ducatiCtrlBaseAddr;
config InterruptDucati_mailboxBaseAddr // module-wide |
|
extern const UInt32 InterruptDucati_mailboxBaseAddr;
InterruptDucati_intClear() // module-wide |
|
Clear interrupt
ARGUMENTS
remoteProcId
Remote MultiProc Id
intInfo
Information needed to configure interrupt line
RETURNS
Value (if any) of the interrupt before
it was cleared
InterruptDucati_intDisable() // module-wide |
|
Disables the interrupt corresponding to intId
ARGUMENTS
remoteProcId
Remote MultiProc Id
intInfo
Information needed to configure interrupt line
InterruptDucati_intEnable() // module-wide |
|
Enables the interrupt corresponding to intId
ARGUMENTS
remoteProcId
Remote MultiProc Id
intInfo
Information needed to configure interrupt line
InterruptDucati_intRegister() // module-wide |
|
Register an interrupt line to a remote processor
Void InterruptDucati_intRegister(
UInt16 remoteProcId,
IInterrupt_IntInfo *
intInfo,
Fxn func,
UArg arg);
ARGUMENTS
remoteProcId
Remote MultiProc Id
intInfo
Information needed to configure interrupt line
func
Function to register.
arg
Argument that will be passed to func
InterruptDucati_intSend() // module-wide |
|
Send interrupt to the remote processor
ARGUMENTS
remoteProcId
Remote MultiProc Id
intInfo
Information needed to configure interrupt line
arg
Argument for sending interrupt.
InterruptDucati_intUnregister() // module-wide |
|
Unregister an interrupt line to a remote processor
ARGUMENTS
remoteProcId
Remote MultiProc Id
intInfo
Information needed to configure interrupt line
Module-Wide Built-Ins |
|
// Get this module's unique id
Bool InterruptDucati_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool InterruptDucati_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 InterruptDucati_Module_getMask();
// Returns the diagnostics mask for this module
Void InterruptDucati_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module