kernel: facility for user-visible memory
. map all objects named usermapped_*.o with globally visible pages; usermapped_glo_*.o with the VM 'global' bit on, i.e. permanently in tlb (very scarce resource!) . added kinfo, machine, kmessages and loadinfo for a start . modified log, tty to make use of the shared messages struct
This commit is contained in:
@@ -608,6 +608,16 @@ int do_ipc(reg_t r1, reg_t r2, reg_t r3)
|
||||
return EDOM;
|
||||
return mini_senda(caller_ptr, (asynmsg_t *) r3, msg_size);
|
||||
}
|
||||
case MINIX_KERNINFO:
|
||||
{
|
||||
/* It might not be initialized yet. */
|
||||
if(!minix_kerninfo_user) {
|
||||
return EBADCALL;
|
||||
}
|
||||
|
||||
arch_set_secondary_ipc_return(caller_ptr, minix_kerninfo_user);
|
||||
return OK;
|
||||
}
|
||||
default:
|
||||
return EBADCALL; /* illegal system call */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user