blob: 9ed25798a995cd34981f41278f6c16920432a572 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include <stdint.h>
#include <string.h>
#include <kernel/object.h>
#include <jove/jove.h>
#include <jove/object.h>
#include <jove/syscall.h>
#include "memory.h"
/**This program acts as a memory and process server.*/
__attribute__((noreturn))
static void
spin_fail(void)
{
for(;;);
}
void
main(void *message_ptr)
{
__jove_syscall_obj = INIT_OBJECT_MESSAGE;
__jove_syscall_ptr = message_ptr;
_jove_alloc_objdir_inplace(&__jove_untyped_directory, &__rootdir, INIT_OBJECT_UNTYPED_DIR);
jove_kprintf("Hello, Userland!\n");
pager_setup();
for(;;);
}
|