mirror of
https://github.com/drasko/codezero.git
synced 2026-05-04 09:31:29 +02:00
Commented out printfs for pager/vfs interaction
This commit is contained in:
@@ -246,7 +246,7 @@ int vfs_close(l4id_t sender, int fd)
|
||||
{
|
||||
int err;
|
||||
|
||||
printf("%s/%s Sending to %d\n", __TASKNAME__, __FUNCTION__, VFS_TID);
|
||||
// printf("%s/%s Sending to %d\n", __TASKNAME__, __FUNCTION__, VFS_TID);
|
||||
l4_save_ipcregs();
|
||||
|
||||
write_mr(L4SYS_ARG0, sender);
|
||||
@@ -256,7 +256,7 @@ int vfs_close(l4id_t sender, int fd)
|
||||
printf("%s: L4 IPC Error: %d.\n", __FUNCTION__, err);
|
||||
return err;
|
||||
}
|
||||
printf("%s/%s Received from %d\n", __TASKNAME__, __FUNCTION__, VFS_TID);
|
||||
// printf("%s/%s Received from %d\n", __TASKNAME__, __FUNCTION__, VFS_TID);
|
||||
|
||||
/* Check if syscall was successful */
|
||||
if ((err = l4_get_retval()) < 0) {
|
||||
@@ -360,8 +360,8 @@ int fd_close(l4id_t sender, int fd)
|
||||
/* Get the task */
|
||||
BUG_ON(!(task = find_task(sender)));
|
||||
|
||||
printf("%s: Closing fd: %d on task %d\n", __FUNCTION__,
|
||||
fd, task->tid);
|
||||
// printf("%s: Closing fd: %d on task %d\n", __FUNCTION__,
|
||||
// fd, task->tid);
|
||||
if ((err = vfs_close(task->tid, fd)) < 0)
|
||||
return err;
|
||||
|
||||
|
||||
@@ -442,7 +442,7 @@ int start_boot_tasks(struct initdata *initdata)
|
||||
break;
|
||||
} while (1);
|
||||
|
||||
/* MM0 needs partial initialisation, since its already running. */
|
||||
/* MM0 needs partial initialisation since it's already running. */
|
||||
printf("%s: Initialising mm0 tcb.\n", __TASKNAME__);
|
||||
ids.tid = PAGER_TID;
|
||||
ids.spid = PAGER_TID;
|
||||
|
||||
Reference in New Issue
Block a user