📄 vrtxcftb.c
字号:
/***************************************************************************
*
* Copyright (c) 1993 MICROTEC RESEARCH INCORPORATED.
*
* All rights reserved. MICROTEC RESEARCH's source code is an unpublished
* work and the use of a copyright notice does not imply otherwise.
* This source code contains confidential, trade secret material of
* MICROTEC RESEARCH. Any attempt or participation in deciphering, decoding,
* reverse engineering or in any way altering the source code is
* strictly prohibited, unless the prior written consent of
* MICROTEC RESEARCH is obtained.
*
*
* Module Name: %M%
*
* Identification: %Z% %I% %M%
*
* Date: %G% %U%
*
****************************************************************************
*/
/* VRTX configuration table */
#include <vrtxil.h>
#include <logio.h>
#include <sysvrtx.h>
extern CVT sys_vrtx_cvt;
extern void sys_ttya_xtxrdy(_ANSIPROT1(int));
extern void sys_tcreate_hook(_ANSIPROT2(TCB *, TCB *));
extern void sys_tdelete_hook(_ANSIPROT2(TCB *, TCB *));
extern void sys_tswitch_hook_null(_ANSIPROT2(TCB *, TCB *));
const CFTBL sys_vrtx_config_rom =
{
/* VRTX workspace selector */
0,
/* VRTX workspace address */
0,
/* workspace size */
122360,
/* system stack size */
4096,
/* ISR stack size */
0,
/* control block count */
48,
/* partition count */
17,
/* idle task stack size */
4096,
/* queue count */
16,
/* component disable level */
7,
/* user stack size */
0,
/* maximum task ID */
0,
/* target type */
target_unspecified,
/* user task count */
16,
/* Configuration options */
0,
/* transmit ready driver address */
sys_ttya_xtxrdy, 0,
/* task create hook routine */
sys_tcreate_hook, 0,
/* task delete hook routine */
sys_tdelete_hook, 0,
/* task switch hook routine */
sys_tswitch_hook_null, 0,
/* component vector table address */
&sys_vrtx_cvt, 0,
/* descriptor allocation routine */
0, 0
};
const int sys_os_mode = 1992; /* trap_handler == 1965 else 1992 */
struct v32_config *sys_vrtx_config_ptr;
void (* const sys_entry_pt1)(_ANSIPROT0) = 0;
void (* const sys_entry_pt2)(_ANSIPROT0) = 0;
void (* const sys_usr_entry_pt)(_ANSIPROT0) = 0;
extern void sys_load_nk_isr(_ANSIPROT3(int, void *, char *));
void (* const sys_interrupt_handler_installer)(_ANSIPROT3(int, void *, char *)) = sys_load_nk_isr;
const short sys_flat_data_alias = 0x28;
const short sys_ldt_alias = 0x08;
const sys_vrtx_type_t sys_vrtx_type = sys_vrtxsa;
extern void *(sys_load_vrtx_isr)(_ANSIPROT2(int, void *));
void *(* const sys_load_vrtxsa_isr)(_ANSIPROT2(int, void *)) = sys_load_vrtx_isr;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -