From 5dfac4879ce5f34503ae7537eefd3fc48d6fa750 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Wed, 25 Aug 2021 23:47:08 +0300 Subject: libfdt seems to work At least as far as reading memory info, cool. One issue I have is that .(ro)data is apparently accessed by absolute addresses, so I need to know at which address the kernel is going to be loaded. I would prefer completely position independent code, but if that's not possible then eh. --- arch/riscv/include/vmap.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/riscv/include/vmap.h') diff --git a/arch/riscv/include/vmap.h b/arch/riscv/include/vmap.h index a1cf52f..aee3725 100644 --- a/arch/riscv/include/vmap.h +++ b/arch/riscv/include/vmap.h @@ -12,7 +12,4 @@ #define VM_A (1 << 6) #define VM_D (1 << 7) -#define VM_TOP (-1) -#define VM_KERN (VM_TOP - SZ_1G) - #endif /* APOS_RISCV_VMAP_H */ -- cgit v1.3