📄 ar_resource.c
字号:
/*----------------------------------------------------------------------------
* A R T X - K e r n e l
*----------------------------------------------------------------------------
* Name: AR_RESOURCE.C (for CARM)
* Purpose: Contains ARTX resource allocations.
* Rev.: V2.00 / 19-oct-2005
*----------------------------------------------------------------------------
* This code is part of the ARTX-ARM kernel package of Keil Software.
* Copyright (c) 2004-2005 Keil Software. All rights reserved.
*---------------------------------------------------------------------------*/
#include "Kernel\ARTX_Config.h"
/*----------------------------------------------------------------------------
* Global Variables
*---------------------------------------------------------------------------*/
/* Id of actual running task */
P_TCB os_runtask;
/* Free running system tick counter */
U16 os_time;
/* Task Control Blocks of clock and idle demon */
struct OS_TCB os_clock_TCB;
struct OS_TCB os_idle_TCB;
/* List heads */
struct OS_XCB os_rdy;
struct OS_XCB os_dly;
/* Post service request flag */
BIT os_psh_flag;
/* Count of last ps request */
U32 os_psh_cnt;
/* Queue for post service requests */
OS_ID os_psq[16];
void *os_msg[16];
U16 os_psq_first;
U16 os_psq_last;
/* User Timer list pointer */
struct OS_XTMR os_tmr;
/*----------------------------------------------------------------------------
* end of file
*---------------------------------------------------------------------------*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -