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

📄 initmodules.h

📁 MIPS下的boottloader yamon 的源代码
💻 H
字号:
/************************************************************************
 *
 *      INITMODULES.h
 *
 *      The 'INITMODULES' defines a list of all currently known modules
 *      to be included in YAMON and compile switch dependant include
 *      switch files, which define the board dependant switches to
 *      include the modules for specific  boards.
 *
 *
 *
 * ######################################################################
 *
 * Copyright (c) 1999-2000 MIPS Technologies, Inc. All rights reserved. 
 * 
 * Unpublished rights reserved under the Copyright Laws of the United States of 
 * America. 
 * 
 * This document contains information that is proprietary to MIPS Technologies, 
 * Inc. ("MIPS Technologies"). Any copying, modifying or use of this information 
 * (in whole or in part) which is not expressly permitted in writing by MIPS 
 * Technologies or a contractually-authorized third party is strictly 
 * prohibited. At a minimum, this information is protected under unfair 
 * competition laws and the expression of the information contained herein is 
 * protected under federal copyright laws. Violations thereof may result in 
 * criminal penalties and fines. 
 * MIPS Technologies or any contractually-authorized third party reserves the 
 * right to change the information contained in this document to improve 
 * function, design or otherwise. MIPS Technologies does not assume any 
 * liability arising out of the application or use of this information. Any 
 * license under patent rights or any other intellectual property rights owned 
 * by MIPS Technologies or third parties shall be conveyed by MIPS Technologies 
 * or any contractually-authorized third party in a separate license agreement 
 * between the parties. 
 * The information contained in this document constitutes one or more of the 
 * following: commercial computer software, commercial computer software 
 * documentation or other commercial items. If the user of this information, or 
 * any related documentation of any kind, including related technical data or 
 * manuals, is an agency, department, or other entity of the United States 
 * government ("Government"), the use, duplication, reproduction, release, 
 * modification, disclosure, or transfer of this information, or any related 
 * documentation of any kind, is restricted in accordance with Federal 
 * Acquisition Regulation 12.212 for civilian agencies and Defense Federal 
 * Acquisition Regulation Supplement 227.7202 for military agencies. The use of 
 * this information by the Government is further restricted in accordance with 
 * the terms of the license agreement(s) and/or applicable contract terms and 
 * conditions covering this information from MIPS Technologies or any 
 * contractually-authorized third party. 
 *
 ************************************************************************/

#include <initswitch.h>

/*********************************************************************
*
*  Complete list of modules to be included in YAMON.
*
*  The file initswitch.h defines whether a specific module is included
*  or not (defines INCLUDE_SYSCON, INCLUDE_IO, INCLUDE_RTC ...).
*
*  The bootstrap sequence of module initialisation is important since 
*  some modules depend on others.
*
*********************************************************************/

#if      INCLUDE_SYSCON	    /* Must be 1st module		    */
#include <syscon_ini.h>
#endif

/* Now we can use DO_DISP (DO_DISP depends on SYSCON)		    */

#if      INCLUDE_IO	    /* Depends on SYSCON		    */
DO_DISP( "IO" );
#include <io_ini.h>
#endif

#if      INCLUDE_EXCEP	    /* Depends on IO			    */
DO_DISP( "EXCEP" );
#include "excep_ini.h"
#endif

#if      INCLUDE_RTC	    /* Depends on IO			    */
DO_DISP( "RTC" );
#include <rtc_ini.h>
#endif

#if      INCLUDE_FREQ	    /* Depends on RTC			    */
DO_DISP( "FREQ" );
#include <freq_ini.h>
#endif

#if      INCLUDE_PCI	    /* Depends on FREQ due to sys_wait_ms() */
DO_DISP( "PCI" );
#include <pci_ini.h>
#endif

#if      INCLUDE_IIC        /* Depends on PCI		            */
DO_DISP( "IIC" );
#include <iic_ini.h>
#endif

#if      INCLUDE_EEPROM_IIC	/* Depends on IIC_SAA9730	    */
DO_DISP( "EEPROM" );
#include <eeprom_iic_ini.h>
#endif

#if      INCLUDE_FLASH_STRATA   /* Depends on IO		    */
DO_DISP( "FLASH" );
#include <flash_strata_ini.h>
#endif

#if      INCLUDE_FLASH_AMD   /* Depends on IO		    */
DO_DISP( "FLASHXY" );
#include <flash_AMD_ini.h>
#endif

#if      INCLUDE_SYSENV		/* Depends on FLASH_STRATA	    */
DO_DISP( "SYSENV" );
#include <sysenv_ini.h>
#endif

#if 	 INCLUDE_ENV		/* Depends on SYSENV		    */
DO_DISP( "ENV" );
#include <env_ini.h>
#endif

#if      INCLUDE_SERIAL         /* Depends on ENV		    */
DO_DISP( "SERIAL" );
#include <serial_ini.h>
#endif

#if      INCLUDE_LAN_SAA9730      /* Depends on ENV		    */
DO_DISP( "SAA_LAN" );
#include <lan_saa9730_ini.h>
#endif

#if      INCLUDE_LAN_AM79C973     /* Depends on ENV		    */
DO_DISP( "AMD_LAN" );
#include <lan_am79c973_ini.h>
#endif

#if      INCLUDE_LAN_LAN91C111    /* Depends on ENV		    */
DO_DISP( "SMSC_LAN" );
#include <lan_lan91c111_ini.h>
#endif

#if      INCLUDE_MAC_AU1000     /* Depends on ENV		    */
DO_DISP( "AU1000MAC" );
#include <MAC_AU1000_ini.h>
#endif

#if 	 INCLUDE_NET		  /* Depends on LAN driver	    */
DO_DISP( "NET" );
#include <net_ini.h>
#endif



⌨️ 快捷键说明

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