tmfat32devicelist.c

来自「PNX1500上Fat32文件系统源代码」· C语言 代码 · 共 88 行

C
88
字号
/*
 * Copyright (C) 2003 Koninklijke Philips Electronics N.V.,
 * All Rights Reserved.
 *
 * This source code and any compilation or derivative thereof is the
 * proprietary information of Koninklijke Philips Electronics N.V.
 * and is confidential in nature.
 * Under no circumstances is this software to be exposed to or placed
 * under an Open Source License of any type without the expressed
 * written permission of Koninklijke Philips Electronics N.V.
 *
 *----------------------------------------------------------*/
/*!
 *      \file           tmFat32DeviceList.c
 *
 *      List of supported tmFat32 devices.
 *
 */
/*-----------------------------------------------------------
 *
 *      %version:       ds08#7 %
 *      instance:       DS_4
 *      %date_created:  Tue Jul 18 10:32:19 2006 %
 *
 */
 //-----------------------------------------------------------------------------

//-----------------------------------------------------------------------------
// Standard include files:
//-----------------------------------------------------------------------------
//


//-----------------------------------------------------------------------------
// Project include files:
//-----------------------------------------------------------------------------
//

#if USE_GENERIC_C
#include <tmFat32Generic.h>
#include <tmFat32.h>
#include <tmFat32Device.h>
#include <tmFat32Ram.h>
#else
#include <tmNxTypes.h>
#include <tmNxCompId.h>
#include <tmDbg.h>
#include <tmosal.h>
#include <tmSGList.h>
#include <tmFat32.h>
#include <tmFat32Device.h>
#include <tmFat32Ram.h>
#if TMFL_FAT32_IDE
#include <tmFat32Ide.h>
#endif
#if TMFL_FAT32_USB
#include <tmFat32Usb.h>
#endif
#if TMFL_FAT32_SD
#include <tmFat32Sd.h>
#endif
#endif

//-----------------------------------------------------------------------------
// Global data:
//-----------------------------------------------------------------------------
//

// List of available tmFat32 devices.

tmFat32_Devices_t    tmFat32DeviceList[] =
{
    {tmFat32_RamDevice,  tmFat32_Ram_Install, tmFat32_Ram_Uninstall},  // RAM disk
#if !USE_GENERIC_C && !USE_SIMULATOR
#if TMFL_FAT32_IDE
    {tmFat32_IdeDevice,  tmFat32_Ide_Install, tmFat32_Ide_Uninstall},  // IDE
#endif
#if TMFL_FAT32_USB
    {tmFat32_UsbDevice,  tmFat32_Usb_Install, tmFat32_Usb_Uninstall},  // Usb Host Device
#endif
#if TMFL_FAT32_SD
    {tmFat32_SdDevice,   tmFat32_Sd_Install,  tmFat32_Sd_Uninstall},   // SD
#endif
#endif
    {tmFat32_NullDevice, Null,                Null}                    // Terminates list
};

⌨️ 快捷键说明

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