00001 /* 00002 libdiskmii - a disk input/output library for the BootMii platform. 00003 00004 Copyright (C) 2009-2010 Alex Marshall <trap15@raidenii.net> 00005 00006 # This code is licensed to you under the terms of the GNU GPL, version 2; 00007 # see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt 00008 */ 00009 00014 #ifndef __DISKMII_H__ 00015 #define __DISKMII_H__ 00016 00017 #include <diskmii/ff.h> 00018 #include <diskmii/diskio.h> 00019 #include <diskmii/nandfs.h> 00020 00021 #define ELM_SD 0 00022 00027 int diskmii_init(); 00033 int diskmii_mountdevice(int drv); 00039 int diskmii_remountdevice(int drv); 00045 int diskmii_unmountdevice(int drv); 00050 int diskmii_mount(); 00055 int diskmii_remount(); 00060 int diskmii_unmount(); 00065 BOOL diskmii_is_inserted(int drv); 00066 00067 #endif 00068
1.6.3