diff options
Diffstat (limited to 'vm/vm_object.h')
-rw-r--r-- | vm/vm_object.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vm/vm_object.h b/vm/vm_object.h index 9ffe711e..2f0e8e1a 100644 --- a/vm/vm_object.h +++ b/vm/vm_object.h @@ -33,6 +33,14 @@ struct vm_object; +static inline struct vm_object * +vm_object_get_kernel_object(void) +{ + extern struct vm_object vm_object_kernel_object; + + return &vm_object_kernel_object; +} + /* * Initialize a VM object. */ |