Added initrd driver
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include "../libc/string.h"
|
||||
#include "../mem/kheap.h"
|
||||
#include "fs.h"
|
||||
|
||||
typedef struct {
|
||||
@@ -29,8 +30,5 @@ typedef struct {
|
||||
// Function to initialize initrd, we'll pass the multiboot
|
||||
// module as parameter
|
||||
fs_node_t *init_ramdisk(uint32_t multiboot_location);
|
||||
static uint32_t initrd_read(fs_node_t *node, uint32_t offset, uint32_t size, uint8_t *buffer);
|
||||
static struct dirent *initrd_readdir(fs_node_t *node, uint32_t index);
|
||||
static fs_node_t *initrd_finddir(fs_node_t *node, uint8_t *name);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user