struct InterruptBenelli_IntInfo |
|
typedef struct InterruptBenelli_IntInfo {
UInt localIntId;
UInt remoteIntId;
UInt intVectorId;
} InterruptBenelli_IntInfo;
config InterruptBenelli_benelliInterruptTable // module-wide |
|
extern const UInt32 InterruptBenelli_benelliInterruptTable[8];
config InterruptBenelli_ducatiCtrlBaseAddr // module-wide |
|
extern const UInt32 InterruptBenelli_ducatiCtrlBaseAddr;
config InterruptBenelli_mailboxBaseAddr // module-wide |
|
extern const UInt32 InterruptBenelli_mailboxBaseAddr[10];
config InterruptBenelli_mailboxTable // module-wide |
|
extern const UInt32 InterruptBenelli_mailboxTable[64];
config InterruptBenelli_procIdTable // module-wide |
|
extern const UInt32 InterruptBenelli_procIdTable[8];
InterruptBenelli_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
InterruptBenelli_intDisable() // module-wide |
|
Disables the interrupt corresponding to intId
ARGUMENTS
remoteProcId
Remote MultiProc Id
intInfo
Information needed to configure interrupt line
InterruptBenelli_intEnable() // module-wide |
|
Enables the interrupt corresponding to intId
ARGUMENTS
remoteProcId
Remote MultiProc Id
intInfo
Information needed to configure interrupt line
InterruptBenelli_intRegister() // module-wide |
|
Register an interrupt line to a remote processor
Void InterruptBenelli_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
InterruptBenelli_intSend() // module-wide |
|
Send interrupt to the remote processor
Void InterruptBenelli_intSend(
UInt16 remoteProcId,
IInterrupt_IntInfo *
intInfo,
UArg arg);
ARGUMENTS
remoteProcId
Remote MultiProc Id
intInfo
Information needed to configure interrupt line
arg
Argument for sending interrupt.
InterruptBenelli_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 InterruptBenelli_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool InterruptBenelli_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 InterruptBenelli_Module_getMask();
// Returns the diagnostics mask for this module
Void InterruptBenelli_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module