KallistiOS
git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
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
\ingroup vfs_vmu
11
12
The VMU filesystem driver mounts itself on /vmu of the VFS. Each memory card
13
has its own subdirectory off of that directory (i.e, /vmu/a1 for slot 1 of
14
the first controller). VMUs themselves have no subdirectories, so the driver
15
itself is fairly simple.
16
17
Files on a VMU must be multiples of 512 bytes in size, and should have a
18
header attached so that they show up in the BIOS menu.
19
20
This layer is built off of the vmufs layer, which does all the low-level
21
operations. It is generally easier to work with things at this level though,
22
so that you can use the normal libc file access functions.
23
24
\author Megan Potter
25
26
\see dc/vmu_pkg.h
27
\see dc/vmufs.h
28
*/
29
30
#ifndef __DC_FS_VMU_H
31
#define __DC_FS_VMU_H
32
33
#include <sys/cdefs.h>
34
__BEGIN_DECLS
35
36
#include <
kos/fs.h
>
37
38
/** \defgroup vfs_vmu VMU
39
\brief VFS driver for accessing Visual Memory Unit storage
40
\ingroup vfs
41
42
@{
43
*/
44
45
/* \cond */
46
/* Initialization */
47
int
fs_vmu_init(
void
);
48
int
fs_vmu_shutdown(
void
);
49
/* \endcond */
50
51
/** @} */
52
53
__END_DECLS
54
55
#endif
/* __DC_FS_VMU_H */
56
fs.h
Virtual filesystem support.
kernel
arch
dreamcast
include
dc
fs_vmu.h
Generated by
1.11.0