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

📄 vosintbl.c

📁 VRTX 商用嵌入式实时操作系统
💻 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%
*
****************************************************************************
*/

/* Kernel-independent system configuration options */

#include <syskind.h>
#include <sysmhdlr.h>


/* putc definition for System printf (sys_kprintf) */

extern void sys_kputc(_ANSIPROT1(char));

void (* const sys_kprintf_putc)(_ANSIPROT1(char)) = sys_kputc;

/* System Console Configuration. */
/* Name of console logical I/O device */

const char sys_console_name[] = "DEV_SCREEN";
/*** for backwards compatibility with ESH, should be removed ***/
char * const sys_console = "DEV_SCREEN";

/* Console callouts */

extern void sys_ttya_txrdy_handler(_ANSIPROT4(logio_device_id_t, logio_int_event_t, void *, cpu_context_ptr));
extern void sys_ttya_rxchr_handler(_ANSIPROT4(logio_device_id_t, logio_int_event_t, void *, cpu_context_ptr));
extern void sys_ttya_error_handler(_ANSIPROT4(logio_device_id_t, logio_int_event_t, void *, cpu_context_ptr));
void (* const sys_console_txrdy_callout)(_ANSIPROT4(logio_device_id_t, logio_int_event_t, void *, cpu_context_ptr)) = sys_ttya_txrdy_handler;
void (* const sys_console_rxchr_callout)(_ANSIPROT4(logio_device_id_t, logio_int_event_t, void *, cpu_context_ptr)) = sys_ttya_rxchr_handler;
void (* const sys_console_ttyerr_callout)(_ANSIPROT4(logio_device_id_t, logio_int_event_t, void *, cpu_context_ptr)) = sys_ttya_error_handler;

/* System Timer Configuration. */
/* Timer callouts */

extern void sys_timer_handler(_ANSIPROT4(logio_device_id_t, logio_int_event_t, void *, cpu_context_ptr));
void (* const sys_timer_callout)(_ANSIPROT4(logio_device_id_t, logio_int_event_t, void *, cpu_context_ptr)) = sys_timer_handler;

/* Cache and MMU */

#if defined(MC68020) || defined(MC68040) || defined(I386) || defined(SPARC) || defined(AMD29K) || defined(I960) || defined(PPC)
const char sys_cache_enabled = 1;
const cpu_cm_cd_t sys_cache_designator = CPU_CACHE_ALL_CACHE;
const unsigned sys_cache_mode = BOOTOS_MEMORY_COPYBACK;
#endif /* MC68020 || MC68040 || I386 || SPARC */
#if defined(MC68020) || defined(MC68040) || defined(I386) || defined(I960) || (defined(PPC) && !defined(PPC603))
const char sys_mmu_enabled = 0;
const char sys_ttr_enabled = 0;
const unsigned sys_mmu_page_table_size = 0;
const cpu_cm_mmu_mode_t sys_mmu_mode =0;
#endif /* MC68020 || MC68040 || I386 */

#if defined(PPC860)
/* Floating point emulation software */
const char sys_fpe_enabled = 1;
#endif

#ifdef SPARC
const unsigned long cpu_nwindows = ;
#endif

/* System Initialization and Run-Time message Handler. */

extern void sys_default_message_handler(_ANSIPROT2(unsigned long, unsigned long));

void (* const sys_message_handler)(_ANSIPROT2(unsigned long, unsigned long)) = sys_default_message_handler;

/* Memory Console. */
msg_struct sys_msg_mem_console[30];
const unsigned short sys_max_msg_count = 30;

/* Message verbosity level. Ignored for errors. */
const unsigned short sys_msg_verbosity = 1; 

const char sys_version[] = "VRTXsa x86/fpm Version 4.3";

⌨️ 快捷键说明

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