mirror of
https://github.com/drasko/codezero.git
synced 2026-02-02 13:13:15 +01:00
FS0 compiles now, with a mock-up rootfs.
Having progress on vfs slowly but surely ;-)
This commit is contained in:
14
tasks/fs0/include/syscalls.h
Normal file
14
tasks/fs0/include/syscalls.h
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* System call function signatures.
|
||||
*
|
||||
* Copyright (C) 2007, 2008 Bahadir Balban
|
||||
*/
|
||||
#ifndef __FS0_SYSCALLS_H__
|
||||
#define __FS0_SYSCALLS_H__
|
||||
|
||||
int sys_open(l4id_t sender, char *pathname, int flags, u32 mode);
|
||||
int sys_read(l4id_t sender, int fd, void *buf, int cnt);
|
||||
int sys_write(l4id_t sender, int fd, void *buf, int cnt);
|
||||
int sys_lseek(l4id_t sender, int fd, unsigned long offset, int whence);
|
||||
|
||||
#endif /* __FS0_SYSCALLS_H__ */
|
||||
Reference in New Issue
Block a user