mirror of
https://github.com/drasko/codezero.git
synced 2026-02-27 17:23:13 +01:00
A file can be created.
Now up to sys_write() in pager, which needs to be filled in.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user