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

📄 eboot_fmd.h

📁 Windows CE 6.0 BSP for VOIP sample phone. Intel PXA270 platform.
💻 H
字号:
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
//------------------------------------------------------------------------------
//
//  File: eboot_fmd.h
//
//  This file contains definitions specific to the bootloader.
//
#ifndef _EBOOT_FMD_H_
#define _EBOOT_FMD_H_

//  FMD binary handling functions
// 
PVOID FMD_bdkInit(DWORD handle, PCHAR sig, DWORD dwLength, BOOL bRead);
BOOL FMD_bdkDeinit(VOID *pContext);
BOOL FMD_bdkGetInfo(FlashInfo *pFlashInfo);
BOOL FMD_bdkWriteSector(SECTOR_ADDR sector, UCHAR *pBuffer, SectorInfo *pSectorInfo, DWORD sectors);
BOOL FMD_bdkReadSector(SECTOR_ADDR sector, UCHAR *pBuffer, SectorInfo *pSectorInfo, DWORD sectors);

//  FMD MDOCLDR handling functions
// 
BOOL WriteMDOCLDR(UINT8 *pData);

// FMD IOCTLs
#define IOCTL_DOC_MOUNT                 IOCTL_DISK_USER(12)+4
#define IOCTL_DOC_FORMAT_LEAVE          IOCTL_DISK_USER(12)+8
#define IOCTL_DOC_FORMAT_COMP           IOCTL_DISK_USER(12)+12
#define IOCTL_DOC_ERASE_BD              IOCTL_DISK_USER(12)+16
#define IOCTL_DOC_WRITE_MDOCLDR         IOCTL_DISK_USER(12)+20
#define IOCTL_DOC_READ_RESERVED         IOCTL_DISK_USER(12)+24
#define IOCTL_DOC_GET_RESERVED_TABLE    IOCTL_DISK_USER(12)+28
#define IOCTL_DOC_GET_UNIQUE_ID         IOCTL_DISK_USER(12)+32

#endif  // _FLASH_H_.

⌨️ 快捷键说明

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