UNDOCUMENTED APIs
==============================================================================
This file provides a list of "undocumented" kernel interfaces and methods.
These methods are in theory restricted to kernel developer and/or middleware
developers that need closer integration with the kernel than what is
available through the public APIs.  All of these "undocumented" methods
have the naming convention of Xmk_su_xxx to indicate that they are privileged
and/or restricted methods.  The use and/or misuse of these method can have a 
direct effect on the stability of the kernel.  Hint: DO NOT USE THESE METHODS 
unless you really have to!

The methods are listed by what file contains the function/macro definition.


Header File: xmk/kernel.h
------------------------------------------------------------------------------
Methods:
    XMK_BYTE Xmk_su_getThreadState( XMK_THREADHDL thread );
    void Xmk_su_suspenedInts(void);
    void Xmk_su_restoreInts(void);

Macros:
    XMK_SU_IS_STATE_READY(threadState)
    XMK_SU_IS_STATE_WAITING(threadState)
    XMK_SU_IS_STATE_WAITING_ON_THREAD_SEMAPHORE(threadState)

Compile Switches:
    USE_XMK_FULLSPEED_IDLE_MODE - used to ensure that the XMK idle thread does
                                  *not* go into a sleep/wait/power-savings
                                  mode.  Not supported by all platforms.

Header File: xmk/sleep.h
------------------------------------------------------------------------------
Methods:
    none

Macros:
    XMK_SU_IS_STATE_WAITING_ON_SLEEP_TIME(s)



Header File: xmk/xthread.h
------------------------------------------------------------------------------
Methods:
    none

Macros:
    XMK_SU_IS_STATE_WAITING_ON_THREAD_CREATE(s)



Header File: xmk/sema.h
------------------------------------------------------------------------------
Methods:
    none

Macros:
    XMK_SU_IS_STATE_WAITING_ON_SEMAPHORE(s)



Header File: xmk/tsd.h
------------------------------------------------------------------------------
Methods:
    XMK_TSD_ELEMENT Xmk_su_getTsdElement( XMK_THREADHDL threadIdx, XMK_TSD_KEY index );

Macros:
    none


Header File: xmk/kernel/sync/sync.h
------------------------------------------------------------------------------
Methods:
    void Xmk_su_waitOnSync(void);
    void Xmk_su_signalSync( XMK_THREADHDL threadToWakeUp );
    void Xmk_su_isr_signalSync( XMK_THREADHDL threadToWakeUp );

Macros:
    XMK_SU_IS_STATE_WAITING_ON_SYNC(threadState)


