more x86_64 work. started to put the mmu bits together in the (former) stage2 loader.
[newos.git] / include / boot / stage2_struct.h
blobfff793de475aea42c965d7f9bb491dd1e75bad49
1 /*
2 ** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
5 #ifndef _NEWOS_BOOT_STAGE2_STRUCT_H
6 #define _NEWOS_BOOT_STAGE2_STRUCT_H
8 #include <kernel/ktypes.h>
10 #define MAX_PHYS_MEM_ADDR_RANGE 16
11 #define MAX_VIRT_ALLOC_ADDR_RANGE 16
12 #define MAX_PHYS_ALLOC_ADDR_RANGE 16
14 typedef struct {
15 addr_t start;
16 addr_t size;
17 } addr_range;
19 #endif