KallistiOS
##version##
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
kernel
arch
dreamcast
include
dc
fs_vmu.h
Go to the documentation of this file.
1
/* KallistiOS ##version##
2
3
dc/fs_vmu.h
4
(c)2000-2001 Jordan DeLong
5
6
*/
7
8
/** \file dc/fs_vmu.h
9
\brief VMU filesystem driver.
10
11
The VMU filesystem driver mounts itself on /vmu of the VFS. Each memory card
12
has its own subdirectory off of that directory (i.e, /vmu/a1 for slot 1 of
13
the first controller). VMUs themselves have no subdirectories, so the driver
14
itself is fairly simple.
15
16
Files on a VMU must be multiples of 512 bytes in size, and should have a
17
header attached so that they show up in the BIOS menu.
18
19
This layer is built off of the vmufs layer, which does all the low-level
20
operations. It is generally easier to work with things at this level though,
21
so that you can use the normal libc file access functions.
22
23
\author Dan Potter
24
\see dc/vmu_pkg.h
25
\see dc/vmufs.h
26
*/
27
28
#ifndef __DC_FS_VMU_H
29
#define __DC_FS_VMU_H
30
31
#include <sys/cdefs.h>
32
__BEGIN_DECLS
33
34
#include <
kos/fs.h
>
35
36
/* \cond */
37
/* Initialization */
38
int
fs_vmu_init();
39
int
fs_vmu_shutdown();
40
/* \endcond */
41
42
__END_DECLS
43
44
#endif
/* __DC_FS_VMU_H */
45
fs.h
Virtual filesystem support.
Generated by
1.8.7