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. --- include/fdt.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 include/fdt.h (limited to 'include/fdt.h') diff --git a/include/fdt.h b/include/fdt.h new file mode 100644 index 0000000..9236a45 --- /dev/null +++ b/include/fdt.h @@ -0,0 +1 @@ +#include "../dtc/libfdt/fdt.h" -- cgit v1.3