config Core_numCores // module-wide |
|
number of Cores in SMP environment
extern const UInt Core_numCores;
Core_getId() // module-wide |
|
return the current core id
Core_hwiEnable() // module-wide |
|
Locally enable interrupts
macro UInt Core_hwiEnable();
RETURNS
opaque key for use by Hwi_restore() or Core_hwiRestore()
DETAILS
Core_hwiEnable locally enables hardware interrupts on the current Core
and returns an opaque key indicating whether interrupts were enabled or
disabled on entry to Core_hwiEnable().
The actual value of the key is target/device specific and is meant
to be passed to Hwi_restore() or Core_hwiRestore().
Core_interruptCore() // module-wide |
|
Cause an interrupt on a particular core
macro Void Core_interruptCore(UInt coreId);
Core_lock() // module-wide |
|
acquire Inter-core lock
CONSTRAINTS
This function should always be called with interrupts disabled.
This function should always be called with interrupts disabled.
Core_unlock() // module-wide |
|
release Inter-core lock
macro Void Core_unlock();
Module-Wide Built-Ins |
|
// Get this module's unique id
Bool Core_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool Core_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 Core_Module_getMask();
// Returns the diagnostics mask for this module
Void Core_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module