aboutsummaryrefslogtreecommitdiff
path: root/include/libfdt.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-12-29 23:23:36 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2021-12-29 23:53:06 +0200
commit4f4d9fdc89c27aa3346467a24b621954f4564d3b (patch)
treec4ba4fb583a43b8fb27730b4cdb9b4b1395da91c /include/libfdt.h
parent4e5595a089c815febd7a0d42ab62940bf13f73ac (diff)
downloadkmi-4f4d9fdc89c27aa3346467a24b621954f4564d3b.tar.gz
kmi-4f4d9fdc89c27aa3346467a24b621954f4564d3b.zip
Refactoring
+ Mainly just moving stuff out or arch/riscv/ that should be handled in common/ + Prepared separate process stack/call stack for server callbacks, rest to be implemeted soon ish
Diffstat (limited to 'include/libfdt.h')
-rw-r--r--include/libfdt.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/libfdt.h b/include/libfdt.h
index aa95bd3..304abb7 100644
--- a/include/libfdt.h
+++ b/include/libfdt.h
@@ -1,15 +1,16 @@
#ifndef APOS_LIBFDT_H
#define APOS_LIBFDT_H
#include "../dtc/libfdt/libfdt.h"
+#include <apos/types.h>
/* apos additions, implementation can be found in common/fdt.c */
-struct cell_info_t {
+struct cell_info {
uint32_t size_cells;
uint32_t addr_cells;
};
-struct cell_info_t get_cellinfo(void *fdt, int offset);
-struct cell_info_t get_reginfo(void *fdt, const char *path);
+struct cell_info get_cellinfo(void *fdt, int offset);
+struct cell_info get_reginfo(void *fdt, const char *path);
#if defined(DEBUG)
void __dbg_fdt(void *fdt, int node_offset, int depth);