config Core_numCores // module-wide |
|
number of Cores in SMP environment
extern const UInt Core_numCores;
config Core_resetSection // module-wide |
|
Section to place the reset function
extern const String Core_resetSection;
DETAILS
This configuration parameter allows the app to specify a named output
section that will contain the SYS/BIOS core reset function.
The core reset function is different from _c_int00 and internally
calls _c_int00.
If resetSection is null (or undefined) the reset function is placed
in the target's default text section.
config Core_useSkernelCmd // module-wide |
|
Use sKernel command to wake-up cores on Keystone2 devices
extern const Bool Core_useSkernelCmd;
DETAILS
This config param only has an effect when building apps
for Keystone2 devices. It is ignored for all other devices
like OMAP5xxx, DRA7xx, etc.
If set to true, this config param will cause SYS/BIOS
to use sKernel commands to wake-up cores. This param
is true by default.
If debugging using CCS, a gel script can be used to
wake-up all cores instead of using sKernel commands
at runtime. This config param can be disabled in this
case.
Note: If debugging using CCS and using a gel script to
wake-up all cores, the application needs to be loaded
on only one of the cores. Only the app symbols need to
be loaded on all other cores.
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
Void Core_interruptCore(UInt coreId);
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