A file can be created.

Now up to sys_write() in pager, which needs to be filled in.
This commit is contained in:
Bahadir Balban
2008-04-19 01:27:41 +01:00
parent ce26835968
commit df0eccf7b3
5 changed files with 11 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ static inline int l4_write(int fd, const void *buf, size_t count)
write_mr(L4SYS_ARG2, count);
/* Call pager with write() request. Check ipc error. */
if ((wrcnt = l4_sendrecv(VFS_TID, VFS_TID, L4_IPC_TAG_WRITE)) < 0) {
if ((wrcnt = l4_sendrecv(PAGER_TID, PAGER_TID, L4_IPC_TAG_WRITE)) < 0) {
printf("%s: L4 IPC Error: %d.\n", __FUNCTION__, wrcnt);
return wrcnt;
}