mirror of
https://github.com/drasko/codezero.git
synced 2026-03-06 12:33:14 +01:00
Finished adding untested shm syscalls. Finished adding untested l4 send/recv helpers Everything compiles. Now going to fix lots of bugs ;-)
30 lines
476 B
C
30 lines
476 B
C
/*
|
|
* A basic unix-like read/writeable filesystem for Codezero.
|
|
*
|
|
* Copyright (C) 2007, 2008 Bahadir Balban
|
|
*/
|
|
#include <init.h>
|
|
#include <fs.h>
|
|
|
|
void sfs_read_sb(struct superblock *sb)
|
|
{
|
|
|
|
}
|
|
|
|
static void simplefs_alloc_vnode(struct vnode *)
|
|
{
|
|
|
|
}
|
|
|
|
struct file_system_type sfs_type = {
|
|
.name = "c0fs",
|
|
.magic = 1,
|
|
.flags = 0,
|
|
};
|
|
|
|
/* Registers sfs as an available filesystem type */
|
|
void sfs_register_fstype(struct list_head *fslist)
|
|
{
|
|
list_add(&sfs_type.list, fslist);
|
|
}
|