Finished adding untested bare functionality vfs

Finished adding untested shm syscalls.
Finished adding untested l4 send/recv helpers

Everything compiles. Now going to fix lots of bugs ;-)
This commit is contained in:
Bahadir Balban
2008-02-03 17:42:38 +00:00
parent 05e9028e90
commit cab2e8bdd3
51 changed files with 1661 additions and 227 deletions

14
tasks/fs0/src/bdev.c Normal file
View File

@@ -0,0 +1,14 @@
/*
* This is just to allocate some memory as a block device.
*/
#include <l4/macros.h>
extern char _start_bdev[];
extern char _end_bdev[];
__attribute__((section(".data.memfs"))) char blockdevice[SZ_16MB];
void *vfs_rootdev_open(void)
{
return (void *)_start_bdev;
}