mirror of
https://github.com/drasko/codezero.git
synced 2026-01-22 15:53:16 +01:00
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:
@@ -1,7 +1,25 @@
|
||||
/*
|
||||
* Copyright (C) 2008 Bahadir Balban
|
||||
*/
|
||||
#ifndef __FS0_TASK_H__
|
||||
#define __FS0_TASK_H__
|
||||
|
||||
#include <lib/idpool.h>
|
||||
#include <l4/lib/list.h>
|
||||
|
||||
#define __TASKNAME__ "FS0"
|
||||
|
||||
#endif /* __FS0_TASK_H__ */
|
||||
#define TASK_OFILES_MAX 32
|
||||
|
||||
/* Thread control block, fs0 portion */
|
||||
struct tcb {
|
||||
l4id_t tid;
|
||||
struct list_head list;
|
||||
int fd[TASK_OFILES_MAX];
|
||||
struct id_pool *fdpool;
|
||||
};
|
||||
|
||||
struct tcb *find_task(int tid);
|
||||
void init_task_data(void);
|
||||
|
||||
#endif /* __FS0_TASK_H__ */
|
||||
|
||||
Reference in New Issue
Block a user