kernel/riscv64: Add missing kernel_arg ranges to get build going.
Change-Id: Idf549a5e4d01e6dc8949ec1252296337e5ef970c Reviewed-on: https://review.haiku-os.org/c/1380 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
e0ec8de753
commit
40fcf16358
@@ -9,12 +9,21 @@
|
|||||||
# error This file is included from <boot/kernel_args.h> only
|
# error This file is included from <boot/kernel_args.h> only
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define _PACKED __attribute__((packed))
|
||||||
|
|
||||||
|
#define MAX_VIRTUAL_RANGES_TO_KEEP 32
|
||||||
|
|
||||||
|
|
||||||
// kernel args
|
// kernel args
|
||||||
typedef struct {
|
typedef struct {
|
||||||
// architecture specific
|
// architecture specific
|
||||||
uint64 phys_pgdir;
|
uint64 phys_pgdir;
|
||||||
uint64 vir_pgdir;
|
uint64 vir_pgdir;
|
||||||
uint64 next_pagetable;
|
uint64 next_pagetable;
|
||||||
|
|
||||||
|
// The virtual ranges we want to keep in the kernel.
|
||||||
|
uint32 num_virtual_ranges_to_keep;
|
||||||
|
addr_range virtual_ranges_to_keep[MAX_VIRTUAL_RANGES_TO_KEEP];
|
||||||
} arch_kernel_args;
|
} arch_kernel_args;
|
||||||
|
|
||||||
#endif /* KERNEL_ARCH_RISCV64_KERNEL_ARGS_H */
|
#endif /* KERNEL_ARCH_RISCV64_KERNEL_ARGS_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user