AquilaOS documentation
How it works, and its code
Toggle main menu visibility
Loading...
Searching...
No Matches
ramdev.h
Go to the documentation of this file.
1
#ifndef _DEV_RAMDEV_H
2
#define _DEV_RAMDEV_H
3
4
#include <
core/system.h
>
5
6
/* The RAM disk (dev/rd/ramdisk.c): the boot loader's module, as a block
7
* device. */
8
10
struct
ramdev_priv
{
11
void
*
addr
;
12
};
13
14
#include <
dev/dev.h
>
15
16
extern
struct
dev
rddev
;
17
18
#endif
/* ! _DEV_RAMDEV_H */
dev.h
system.h
rddev
struct dev rddev
Definition
ramdisk.c:93
dev
A device driver: its operations, any of which may be NULL.
Definition
dev.h:28
ramdev_priv
A RAM disk's memory.
Definition
ramdev.h:10
ramdev_priv::addr
void * addr
Definition
ramdev.h:11
kernel
include
dev
ramdev.h
Generated by
1.18.0