summaryrefslogtreecommitdiff
path: root/include/wdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wdt.h')
-rw-r--r--include/wdt.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/wdt.h b/include/wdt.h
new file mode 100644
index 0000000..31739ab
--- /dev/null
+++ b/include/wdt.h
@@ -0,0 +1,18 @@
+#pragma once
+#include <types.h>
+
+#define WDT_MAGIC 0x67674141
+
+struct wdt_device {
+ uint32_t type;
+ uint32_t driver_id;
+ uint32_t start;
+ uint32_t size;
+};
+
+struct wdt_root {
+ uint32_t magic;
+ uint32_t count;
+ struct wdt_device devices[];
+};
+