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:
11
kernel/usermapped_data.c
Normal file
11
kernel/usermapped_data.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "kernel.h"
|
||||
|
||||
/* This is the user-visible struct that has pointers to other bits of data. */
|
||||
struct minix_kerninfo minix_kerninfo;
|
||||
|
||||
/* Kernel information structures. */
|
||||
struct kinfo kinfo; /* kernel information for users */
|
||||
struct machine machine; /* machine information for users */
|
||||
struct kmessages kmessages; /* diagnostic messages in kernel */
|
||||
struct loadinfo loadinfo; /* status of load average */
|
||||
|
||||
Reference in New Issue
Block a user