Operating System Configuration
2-3
Operating System Abstraction API
Debug Message Abort Threshold
_oscfg.DbgAbortLevel
Default Value
DBG_ERROR
Description
This is the lowest severity level of a system debug message (call to DbgPrintf()
function) that will result in a system shutdown (call to NC_NetSop()). The
threshold may be raised. The legal values for this variable are: DBG_INFO,
DBG_WARN, DBG_ERROR, and DBG_NONE.
Priority Level for Low Priority Stack Task
_oscfg.TaskPriLow
Default Value
3
Description
This is the priority at which low priority stack task threads are set. Setting a
thread to a lower priority than this will not disrupt the system, but no system
or service supplied in this package will attempt it.
Priority Level for Normal Priority for Stack Task
_oscfg.TaskPriNorm
Default Value
5
Description
This is the priority at which most stack task threads are set. Task threads that
are created by the system or services will usually run at this level.
Priority Level for High Priority for Stack Task
_oscfg.TaskPriHigh
Default Value
7
Description
This is the priority at which high priority stack task threads are set. Setting a
thread at a higher priority than this may disrupt the system and cause unpre-
dictable behavior if the thread calls any stack related functions. High priority
tasks (like interrupts) can execute at higher priority levels, but should signal
lower priority tasks to perform any required stack functions.
Priority Level of High Priority Kernel Tasks
_oscfg.TaskPriKern
Default Value
8
Description
This is the priority that tasks threads execute at when they are inside the ker-
nel. Setting tasks to this priority level ensures that they will not be disrupted
by another task calling stack functions. The proper method of entering the ker-
nel is to call llEnter() and llExit(). This functions are discussed in the appen-
dices, as they are not required for the applications programmer.