diff options
Diffstat (limited to 'hal/memory.h')
| -rw-r--r-- | hal/memory.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hal/memory.h b/hal/memory.h new file mode 100644 index 0000000..4d866d0 --- /dev/null +++ b/hal/memory.h @@ -0,0 +1,16 @@ +#ifndef _JOVE_HAL_MEMORY_H +#define _JOVE_HAL_MEMORY_H 1 + +#include <stddef.h> +#include <stdint.h> + +typedef struct jove_obj_untyped +{ + size_t limit; +} jove_untyped_t; + +void mem_setup_untyped(void); + +void *phys_tovirt(uintptr_t phys); + +#endif |
