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

View File

@@ -91,14 +91,14 @@ static inline void l4_set_retval(int retval)
/* Clients:
* Learn result of request.
*/
*/
static inline int l4_get_retval(void)
{
return read_mr(MR_RETURN);
}
/* Servers:
* Return the ipc result back to requesting task.
* Return the ipc result back to requesting task.
*/
static inline int l4_ipc_return(int retval)
{
@@ -175,5 +175,4 @@ static inline int l4_reclaim_pages(l4id_t tid)
return 0;
}
#endif /* __L4LIB_SYSLIB_H__ */

View File

@@ -22,6 +22,7 @@
#define MR_UNUSED_START 2 /* The first mr that's not used by syslib.h */
#define MR_TOTAL 6
#define MR_UNUSED_TOTAL (MR_TOTAL - MR_UNUSED_START)
#define MR_USABLE_TOTAL MR_UNUSED_TOTAL
/* Compact utcb for now! :-) */
struct utcb {

View File

@@ -40,4 +40,8 @@
#define L4_IPC_TAG_CLOSE 16
#define L4_IPC_TAG_BRK 17
/* Tags for ipc between fs0 and mm0 */
#define L4_IPC_TAG_OPENDATA 25
#define L4_IPC_TAG_TASKDATA 26
#endif /* __IPCDEFS_H__ */