module ti.sysbios.family.arm.v7m.SysCall |
|
System Call Manager
#include <ti/sysbios/family/arm/v7m/SysCall.h>
Functions common to all ISysCall modules |
macro Void | |
macro Void | |
macro Void | |
Functions common to all target modules |
|
|
Defines |
#define | |
Typedefs |
typedef Void | |
Constants |
| |
| |
const SysCall_NUM_SYSCALLS |
|
#define SysCall_NUM_SYSCALLS (UInt16)3
typedef SysCall_FuncPtr |
|
Callback function type definition
typedef Void (*SysCall_FuncPtr)(UArg);
config SysCall_E_requestFailed // module-wide |
|
Error raised when a User Task attempts to switch privilege mode
extern const Error_Id SysCall_E_requestFailed;
DETAILS
This error is raised by the system call handler if the caller's
PC does not fall within the kernel wrapper function section. This
typically happens if a User Task attempts to directly invoke a
system call to switch the CPU's privileged mode.
config SysCall_requestFailedFunc // module-wide |
|
Callback function for when a system call request is denied.
Default is set to an internal function that raises an error
DETAILS
If the validation check performed by the system call handler fails,
the request is denied and this function is called.
SysCall_enterPrivMode() // module-wide |
|
macro Void SysCall_enterPrivMode();
SysCall_enterUnprivMode() // module-wide |
|
macro Void SysCall_enterUnprivMode();
SysCall_restorePrivMode() // module-wide |
|
macro Void SysCall_restorePrivMode();
Module-Wide Built-Ins |
|
// Get this module's unique id
Bool SysCall_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool SysCall_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 SysCall_Module_getMask();
// Returns the diagnostics mask for this module
Void SysCall_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
var SysCall = xdc.useModule('ti.sysbios.family.arm.v7m.SysCall');
module-wide constants & types
module-wide config parameters
msg: "E_requestFailed: Request (Svc #%d) to switch CPU privilege denied."
};
generated on Thu, 23 May 2019 00:22:40 GMT