📄 vrtxcnfg.c
字号:
/***************************************************************************
*
* Copyright (c) 1994 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: vrtxcnfg.tpl
*
* Identification: %Z% %I% %M%
*
* Date: %G% %U%
*
****************************************************************************
*/
#include <boot.h>
/* Initialized variables are NOT modified in Code, hence declared as const */
/* Board-dependent portion of boot item list */
const target_t boot_item_target = target_i386;
const bootos_memory_t boot_item_memory_rom[] = {
{(void *) 0x0, 0x8000, BOOTOS_MEMORY_UNUSED_HOST | BOOTOS_MEMORY_COPYBACK, },
{(void *) 0x8000, 0x98000, BOOTOS_MEMORY_SHARED | BOOTOS_MEMORY_COPYBACK, },
{(void *) 0xA0000, 0x60000, BOOTOS_MEMORY_SHARED | BOOTOS_MEMORY_SERIALIZED, },
{(void *) 0x100000, 0x38000, BOOTOS_MEMORY_SHARED | BOOTOS_MEMORY_COPYBACK, },
{(void *) 0x138000, 0x2C8000, BOOTOS_MEMORY_UNUSED_TARGET | BOOTOS_MEMORY_COPYBACK, },
/* above line must be terminated by a comma, unless memory map is empty */
{0, 0, BOOTOS_MEMORY_END, 0}
};
bootos_memory_t boot_item_memory_ram[sizeof(boot_item_memory_rom)/sizeof(bootos_memory_t)];
#if 0
/* Boot method table - Kept for historical compatibility */
const boot_method_t boot_method_table[] = {
0, 0, 0
};
const int boot_user_vectors[] = {
0
};
#endif
const int rtr_tx_que_len = 8;
const int rtr_rx_que_len = 16;
/* Initial environment table */
char * const boot_environ_rom[] = {
"VERBOSITY=3",
"BOARD=DEV_BOARD",
"CONSOLE=DEV_SCREEN",
"TIMER=DEV_TIMER_1",
"BRIDGE=DEV_ETHER_1",
0
};
/* Logio configuration parameters */
const int logio_malloc_nbuff = 96;
const int logio_dev_max = 32;
const int logio_max_event_number = 10;
const int logio_table_increment = 3;
const int logio_max_bufpools = 4;
const unsigned int logio_heap_size = 1024;
const int boot_logio_ws_length = 129008;
const int boot_logio_buffer_length = 1600;
char boot_logio_ws[129008];
#if 0
const unsigned short boot_GDT_host_size = * 8;
#endif
const unsigned short boot_GDT_target_size = 64 * 8;
unsigned long boot_GDT_tbl[64*2];
#if 0
unsigned long boot_GDT_tbl[(64+)*2];
const unsigned short boot_IDT_size = 66 * 8;
unsigned long boot_IDT_tbl[66*2];
int boot_standalone_flag = 1;
#endif
extern void sys_default_isr_handler(_ANSIPROT0);
void (*sys_config_default_isr_handler)(_ANSIPROT0) = sys_default_isr_handler;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -