資源簡介
Ucosii官方完整未修改源碼 以及 中文注釋源碼,僅供大家參考。
代碼片段和文件信息
/*
*********************************************************************************************************
*????????????????????????????????????????????????uC/OS-II
*??????????????????????????????????????????The?Real-Time?Kernel
*?????????????????????????????????????????????CORE?FUNCTIONS
*
*??????????????????????????????(c)?Copyright?1992-2009?Micrium?Weston?FL
*???????????????????????????????????????????All?Rights?Reserved
*
*?File????:?OS_CORE.C
*?By??????:?Jean?J.?Labrosse
*?Version?:?V2.91
*
*?LICENSING?TERMS:
*?---------------
*???uC/OS-II?is?provided?in?source?form?for?FREE?evaluation?for?educational?use?or?for?peaceful?research.
*?If?you?plan?on?using??uC/OS-II??in?a?commercial?product?you?need?to?contact?Micri祄?to?properly?license
*?its?use?in?your?product.?We?provide?ALL?the?source?code?for?your?convenience?and?to?help?you?experience
*?uC/OS-II.???The?fact?that?the??source?is?provided?does??NOT??mean?that?you?can?use?it?without??paying?a
*?licensing?fee.
*********************************************************************************************************
*/
#ifndef??OS_MASTER_FILE
#define??OS_GLOBALS
#include?
#endif
/*
*********************************************************************************************************
*???????????????????????????????????????PRIORITY?RESOLUTION?TABLE
*
*?Note:?Index?into?table?is?bit?pattern?to?resolve?highest?priority
*???????Indexed?value?corresponds?to?highest?priority?bit?position?(i.e.?0..7)
*********************************************************************************************************
*/
INT8U??const??OSUnMapTbl[256]?=?{
????0u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0x00?to?0x0F???????????????????*/
????4u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0x10?to?0x1F???????????????????*/
????5u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0x20?to?0x2F???????????????????*/
????4u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0x30?to?0x3F???????????????????*/
????6u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0x40?to?0x4F???????????????????*/
????4u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0x50?to?0x5F???????????????????*/
????5u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0x60?to?0x6F???????????????????*/
????4u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0x70?to?0x7F???????????????????*/
????7u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0x80?to?0x8F???????????????????*/
????4u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0x90?to?0x9F???????????????????*/
????5u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0xA0?to?0xAF???????????????????*/
????4u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u?0u?1u?0u?/*?0xB0?to?0xBF???????????????????*/
????6u?0u?1u?0u?2u?0u?1u?0u?3u?0u?1u?0u?2u
評論
共有 條評論