📄 usbd_media.h
字号:
/* * A EEEE SSSS OOO PPPP * A A E S O O P P * AAAAA EEEE SSSS O O PPPP * A A E S O O P * A A EEEE SSSS OOO P * * An Entertainment Solution On a Platform (AESOP) is a completely Open Source * based graphical user environment and suite of applications for PDAs and other * devices running Linux. It is included in various embedded Linux distributions * such as OpenZaurus - http://www.aesop-embedded.org * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * * Title : usbd_media.h * Author : * Created date : 2005. 06. 26. 23:12:49 KST * Description : * * $Revision: 1.1.1.1 $ * $Log: usbd_media.h,v $ * Revision 1.1.1.1 2005/06/27 17:03:53 linuxpark * Initial import. * * * */ #ident "@(*) $Header: /cvsroot/aesop-embedded/u-boot-aesop/board/aesop2440/usbd_media.h,v 1.1.1.1 2005/06/27 17:03:53 linuxpark Exp $"/* * Copyright (c) 2005 * Junyoung Song, kernelproject.org <jun0song@kornet.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */#ifndef __USBD_MEDIA_H__#define __USBD_MEDIA_H__#define RAMDISK_BASE 0x31000000#define RAMDISK_TOTAL_SECTOR 32000 /* 16Mbytes */#define RAMDISK_NO_OF_HEAD 4#define RAMDISK_SECTOR_PER_TRACK 16#define RAMDISK_NO_OF_CYLINDER 512#define RAMDISK_BYTE_PER_SECTOR 512void usbd_media_probe(usbd_mass_instance *);void usbd_media_probe_ram(usbd_mass_instance *);void usbd_media_probe_sd(usbd_mass_instance *);void usbd_media_probe_nand(usbd_mass_instance *);void usbd_media_read(usbd_mass_instance *);void usbd_media_read_ram(usbd_mass_instance *);void usbd_media_read_sd(usbd_mass_instance *);void usbd_media_read_nand(usbd_mass_instance *);void usbd_media_write(usbd_mass_instance *);void usbd_media_write_ram(usbd_mass_instance *);void usbd_media_write_sd(usbd_mass_instance *);void usbd_media_write_nand(usbd_mass_instance *);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -