UbixOS  2.0
devfs.c File Reference
#include <devfs/devfs.h>
#include <vfs/vfs.h>
#include <sys/device.h>
#include <ubixos/spinlock.h>
#include <ubixos/kpanic.h>
#include <lib/kmalloc.h>
#include <string.h>
#include <lib/kprintf.h>
Include dependency graph for devfs.c:

Go to the source code of this file.

Functions

int devfs_init ()
 
int devfs_makeNode (char *name, uInt8 type, uInt16 major, uInt16 minor)
 

Function Documentation

◆ devfs_init()

int devfs_init ( )

Definition at line 211 of file devfs.c.

References NULL.

◆ devfs_makeNode()

int devfs_makeNode ( char *  name,
uInt8  type,
uInt16  major,
uInt16  minor 
)

Definition at line 174 of file devfs.c.

References spinLock().

Referenced by fdc_init().

Here is the call graph for this function: