module ti.sysbios.family.windows.TaskSupport |
|
|
|
Windows Task Support Module
#include <ti/sysbios/family/windows/TaskSupport.h>
Functions common to all target modules |
|
|
Typedefs |
typedef Void | |
typedef Void | |
typedef struct | |
typedef Void | |
Constants |
extern const SizeT | |
| |
| |
| |
| |
| |
extern const UInt | |
typedef TaskSupport_GlueFxn |
|
Prototype of task enter and exit functions
typedef Void (*TaskSupport_GlueFxn)();
typedef TaskSupport_IsrFxn |
|
Isr function type definition
typedef Void (*TaskSupport_IsrFxn)(UInt);
typedef TaskSupport_TaskFxn |
|
Task function type definition
typedef Void (*TaskSupport_TaskFxn)(UArg,UArg);
struct TaskSupport_Task |
|
Emulation task object
typedef struct TaskSupport_Task TaskSupport_Task;
config TaskSupport_defaultStackSize // module-wide |
|
Default task stack size
extern const SizeT TaskSupport_defaultStackSize;
config TaskSupport_stackAlignment // module-wide |
|
Required stack alignment (in MAUs)
extern const UInt TaskSupport_stackAlignment;
config TaskSupport_E_calloc // module-wide |
|
Error: memory allocation request failed
extern const Error_Id TaskSupport_E_calloc;
DETAILS
A request into the Windows runtime library for memory has failed.
RAISED_IN
config TaskSupport_E_event // module-wide |
|
Error: CreateEvent failed
extern const Error_Id TaskSupport_E_event;
DETAILS
A CreateEvent call into the Win32 API has failed.
RAISED_IN
config TaskSupport_E_taskState // module-wide |
|
Error: invalid incoming task state
extern const Error_Id TaskSupport_E_taskState;
DETAILS
A task swap was attempted where the incoming task is in an
invalid state.
RAISED_IN
config TaskSupport_E_thread // module-wide |
|
Error: CreateThread failed
extern const Error_Id TaskSupport_E_thread;
DETAILS
A CreateThread call into the Win32 API has failed.
RAISED_IN
config TaskSupport_E_wait // module-wide |
|
Error: WaitForSingleObject failed
extern const Error_Id TaskSupport_E_wait;
DETAILS
A WaitForSingleObject call into the Win32 API has failed.
RAISED_IN
Module-Wide Built-Ins |
|
// Get this module's unique id
Bool TaskSupport_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool TaskSupport_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 TaskSupport_Module_getMask();
// Returns the diagnostics mask for this module
Void TaskSupport_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module
var TaskSupport = xdc.useModule('ti.sysbios.family.windows.TaskSupport');
module-wide config parameters
msg: "calloc failed"
};
msg: "CreateEvent failed"
};
msg: "invalid incoming task state"
};
msg: "CreateThread failed"
};
msg: "WaitForSingleObject failed"
};
generated on Thu, 01 Mar 2012 16:57:53 GMT