📄 tmfat32ide.h
字号:
/* -------------------------------------------------------------------------- *//* (C) Copyright 2000,2002, 2003 Koninklijke Philips Electronics N.V., *//* All rights reserved *//* *//* This source code and any compilation or derivative thereof is the *//* proprietary information of Konlinklijke 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 NAME: tmFat32Ide.h *//* *//* DESCRIPTION: This is the API for tmFat32 IDE device driver *//* *//* DOCUMENT REF: tbd *//* *//* NOTES: tbd *//* *//* -------------------------------------------------------------------------- */#ifndef _TMFAT32_IDE_H_#define _TMFAT32_IDE_H_/* -------------------------------------------------------------------------- *//* Define extern c for C++ prototypes *//* -------------------------------------------------------------------------- */#if defined(__cplusplus)extern "C"{#endif/* -------------------------------------------------------------------------- *//* Types and defines: *//* -------------------------------------------------------------------------- *//* * Useful information about each physical tmFat32 IDE device */typedef struct tmFat32_Ide{ tmFat32_Dev_t common; // Info common to all tmFat32 devices Bool installed; // True if installed tmFat32_DeviceDriver_t driver; // Device driver info for tmFat32 UInt32 init_count; // One for each opened volume (partition) Bool syncIO; // If True do synchronous I/O// Bool supportsLBA; // Supports logical block addressing?// UInt32 heads; // Number of heads// UInt32 cylinders; // Number of cylinders// UInt32 sectorsPerTrack; // Number of sectors per track tmInstance_t ideInstance; tmosalSemHandle_t semHandle; tmutilSGList_t SGListInput; tmutilSGList_t SGListOutput; pVoid pMemorySGListUnit; pVoid pMemorySGListInput; pVoid pMemorySGListOutput; UInt32 inputSGListSize; UInt32 outputSListGSize; UInt32 nrUnitsOutputSGList;} tmFat32_Ide_t, *ptmFat32_Ide_t;/* -------------------------------------------------------------------------- *//* Exported functions: *//* -------------------------------------------------------------------------- *///-----------------------------------------------------------------------------// FUNCTION: tmFat32_Ide_Install//// DESCRIPTION: Install tmFat32 IDE device driver//// RETURN: Pointer ptmFat32_DeviceDriver_t. Return Null on failure.//// NOTES://-----------------------------------------------------------------------------//ptmFat32_DeviceDriver_ttmFat32_Ide_Install ( UInt32 unit // I: Unit number );//-----------------------------------------------------------------------------// FUNCTION: tmFat32_Ide_Uninstall//// DESCRIPTION: Uninstall tmFat32 IDE device driver//// RETURN: void//// NOTES://-----------------------------------------------------------------------------//voidtmFat32_Ide_Uninstall ( ptmFat32_DeviceDriver_t p // IO: Pointer to tmFat32_DeviceDriver_t structure );//-----------------------------------------------------------------------------// FUNCTION: tmFat32_Ide_GetInfo//// DESCRIPTION: Get information about IDE tmFat32 device driver//// RETURN: void//// NOTES: Return numUnits (number of units supported). No other// fields are set.//-----------------------------------------------------------------------------//voidtmFat32_Ide_GetInfo ( ptmFat32_Dev_t p // IO: Pointer to tmFat32_Dev_t structure );/* -------------------------------------------------------------------------- *//* End of extern c for C++ prototypes *//* -------------------------------------------------------------------------- */#if defined(__cplusplus)}#endif#endif /* !defined(_TMFAT32_IDE_H_) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -