diff options
| author | Ada Christine <adachristine18@gmail.com> | 2021-12-29 00:49:40 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2021-12-29 00:49:40 +0000 |
| commit | 96e53132fd152932f2ceaf4c422abc997b06169f (patch) | |
| tree | 54ebc2dd55e4f0a1a2759eb20df93beee17ed29c /api | |
| parent | 26eb00d3e2cab11330da6fffa0dbcb931311173f (diff) | |
kernel memory map is passed on in kernel object space
Diffstat (limited to 'api')
| -rw-r--r-- | api/kernel/entry.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/api/kernel/entry.h b/api/kernel/entry.h index d1a6ee0..f4324ab 100644 --- a/api/kernel/entry.h +++ b/api/kernel/entry.h @@ -1,4 +1,16 @@ #pragma once +#include <stddef.h> + typedef int (*kc_entry_func)(void *parameters); +struct kc_boot_data +{ + struct + { + struct memory_range *base; + size_t entries; + } + phys_memory_map; +}; + |
