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