⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pg_cfg.h

📁 一个移植到凌阳单片机spce061a上面的实时操作系统
💻 H
字号:
///////////////////////////////////////////////////////////////
//
//
//   PGOS : A Portable,Configable Embedded System Kernel
//
//             Intel X86 Specific Code
//
//   This is an open source project under GPL lincence  
//
//        Version 0.9.0 ---- Development Snopshot
//
//   File name : pg_cfg.h : Confiuration file for PGOS kernel    
//   History :
//
//          2005-07-24  First build by X.K. @ PGOS Team
//          2005-08-09  Update for PG_PRI_SCH support  
//          
/////////////////////////////////////////////////////////////////

#ifndef PG_CFG_H
#define PG_CFG_H

////////////////////////////////////
// This is basic support for task
// module.Recommanded open.
// 
////////////////////////////////////
#define  PG_TASK_BASIC_SUPPORT  1
////////////////////////////////////
// This is advanced support for 
// task.
////////////////////////////////////
#define  PG_TASK_ADV_SUPPORT  1
////////////////////////////////////
// Message support
//
////////////////////////////////////
#define  PG_MSG_SUPPORT   1
#define  PG_MESSAGE_BLOCK  1
#define  PG_MESSAGE_UNBLK  0
////////////////////////////////////
// Timer support
//
////////////////////////////////////
#define  PG_TIMER_SUPPORT  1
////////////////////////////////////
// Sem Support
//
////////////////////////////////////
#define  PG_SEM_SUPPORT 1
#if  PG_SEM_SUPPORT == 1
#define  PG_SEM_FIFO     1
#define  PG_SEM_PRIO     0
#endif
/////////////////////////////////////
// Driver Support
//
/////////////////////////////////////
#define  PG_DRV_SUPPORT  1
#define  PG_DRV_NAME_SUPPORT  0
/////////////////////////////////////
// Schedular Support
//
/////////////////////////////////////
#define  PG_SCH_ROUNDROBIN   1
#define  PG_SAME_PRI_SUPPORT  0
#define  PG_PRI_SCH      1
/////////////////////////////////////
// Time & Stat Support
//
/////////////////////////////////////
#define  PG_TIME_SUPPORT  0
#define  PG_STAT_SUPPORT  0
/////////////////////////////////////
// Watchdog Clear Support
//
////////////////////////////////////
#define PG_WDG_CLEAN_KERNEL 1
#define PG_WDG_CLEAN_TASK   0

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -