diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
commit | 3df4acfa816441fc28a95dee6d0191a927145d95 (patch) | |
tree | b5ae7ca44662cfd8e5c95f1826e4406021a606f5 /psosim/drv_conf.c | |
parent | 60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff) | |
download | ATCD-pre-subset.tar.gz |
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
Diffstat (limited to 'psosim/drv_conf.c')
-rw-r--r-- | psosim/drv_conf.c | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/psosim/drv_conf.c b/psosim/drv_conf.c deleted file mode 100644 index 026e9d97193..00000000000 --- a/psosim/drv_conf.c +++ /dev/null @@ -1,80 +0,0 @@ -/* $Id$ */ -/***********************************************************************/ -/* */ -/* MODULE: drv_conf.c */ -/* DATE: 94/01/06 */ -/* PURPOSE: pSOSystem driver configuration and initialization */ -/* */ -/* There is one function in this file: */ -/* */ -/* SetUpDrivers to setup drivers except for Network drivers */ -/* */ -/* */ -/*---------------------------------------------------------------------*/ -/* */ -/* Copyright 1991 - 1993, Integrated Systems, Inc. */ -/* ALL RIGHTS RESERVED */ -/* */ -/* Permission is hereby granted to licensees of Integrated Systems, */ -/* Inc. products to use or abstract this computer program for the */ -/* sole purpose of implementing a product based on Integrated */ -/* Systems, Inc. products. No other rights to reproduce, use, */ -/* or disseminate this computer program, whether in part or in */ -/* whole, are granted. */ -/* */ -/* Integrated Systems, Inc. makes no representation or warranties */ -/* with respect to the performance of this computer program, and */ -/* specifically disclaims any responsibility for any damages, */ -/* special or consequential, connected with the use of this program. */ -/* */ -/***********************************************************************/ -#include "sys_conf.h" -#include "bsp.h" -#include <bspfuncs.h> -#include <configs.h> - -struct ioparms; -#define NULLF ((void (*)(struct ioparms *)) 0) -UCHAR *SetUpDrivers(UCHAR *FreeMemPtr) -{ - -/*---------------------------------------------------------------------*/ -/* Install pSOSystem serial device driver */ -/*---------------------------------------------------------------------*/ -#if (SC_DEV_SERIAL && BSP_SERIAL) - InstallDriver(SC_DEV_SERIAL, CnslInit, NULLF, NULLF,CnslRead, - CnslWrite, CnslCntrl, 0, 0); - FreeMemPtr = CnslSetup(FreeMemPtr, SD_DEF_BAUD, SC_APP_CONSOLE); -#endif - -/*---------------------------------------------------------------------*/ -/* Install pSOSystem tick timer */ -/*---------------------------------------------------------------------*/ -#if SC_DEV_TIMER - InstallDriver(SC_DEV_TIMER, RtcInit, NULLF, NULLF, NULLF, NULLF, - NULLF, 0, 0); -#endif - -/*---------------------------------------------------------------------*/ -/* Install pSOSystem ramdisk driver */ -/*---------------------------------------------------------------------*/ -#if SC_DEV_RAMDISK - InstallDriver(SC_DEV_RAMDISK, RdskInit, NULLF, NULLF, RdskRead, - RdskWrite, NULLF, 0, 0); -#endif - -/*---------------------------------------------------------------------*/ -/* Install pSOSystem TFTP driver */ -/*---------------------------------------------------------------------*/ -#if (SC_DEV_TFTP) - InstallDriver(SC_DEV_TFTP, TftpInit, TftpOpen, TftpClose, TftpRead, - NULLF, TftpCntl, 0, 0); -#endif - -/*---------------------------------------------------------------------*/ -/* Add additional drivers to install here. */ -/*---------------------------------------------------------------------*/ - -return(FreeMemPtr); -} - |