tkernel_2/monitor/hwdepend/tef_em1d/src/hwdepend.h | bare source | permlink (0.01 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * T-Kernel 2.0 Software Package 4: * 5: * Copyright 2011 by Ken Sakamura. 6: * This software is distributed under the latest version of T-License 2.x. 7: *---------------------------------------------------------------------- 8: * 9: * Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17. 10: * Modified by TRON Forum(http://www.tron.org/) at 2015/06/01. 11: * 12: *---------------------------------------------------------------------- 13: */ 14: 15: /* 16: * hwdepend.h 17: * 18: * T-Monitor hardware-dependent processing 19: */ 20: 21: #ifndef __MONITOR_CMDSVC_HWDEPEND_H__ 22: #define __MONITOR_CMDSVC_HWDEPEND_H__ 23: 24: #include <tmonitor.h> 25: #include "sysdepend.h" 26: 27: IMPORT UW DipSw; /* dip switch status */ 28: 29: /* 30: * system configuration information 31: */ 32: IMPORT MEMSEG MemSeg[]; /* memory area definition */ 33: IMPORT W N_MemSeg; /* number of memory areas */ 34: 35: IMPORT const CFGSIO ConfigSIO[]; /* serial port configuration definition */ 36: IMPORT const W N_ConfigSIO; /* serial port number */ 37: 38: IMPORT const CFGDISK ConfigDisk[]; /* disk drive configuration definition */ 39: IMPORT const W N_ConfigDisk; /* nuber of disk drives */ 40: 41: /* 42: * initial processing after reset 43: */ 44: IMPORT void procReset( void ); 45: 46: /* 47: * initialize hardware (peripherals) 48: */ 49: IMPORT void initHardware( void ); 50: 51: /* 52: * setting up the initial count for micro-wait() 53: */ 54: IMPORT void setupWaitUsec( void ); 55: 56: /* 57: * obtain the console port number 58: * console port number (0 - ) 59: * if there is no console port, return -1. 60: */ 61: IMPORT W getConPort( void ); 62: 63: #endif /* __MONITOR_CMDSVC_HWDEPEND_H__ */