UbixOS
2.0
|
#include <sys/types.h>
Go to the source code of this file.
Data Structures | |
struct | device_interface |
struct | device_node |
struct | device_resource |
Functions | |
int | device_add (int, char, struct device_interface *) |
struct device_node * | device_find (int major, int minor) |
int | device_remove (struct device_node *) |
int device_add | ( | int | , |
char | , | ||
struct device_interface * | |||
) |
Definition at line 49 of file device.c.
References device_node::devInfo, kmalloc(), kprintf(), device_node::minor, NULL, device_node::prev, spinLock(), and device_node::type.
Referenced by fdc_init().
struct device_node* device_find | ( | int | major, |
int | minor | ||
) |
Definition at line 82 of file device.c.
References spinLock().
Referenced by vfs_mount().
int device_remove | ( | struct device_node * | ) |