Implement APIC, RTC, basic ACPI parser and timer support
[lunaix-os.git] / lunaix-os / hal / acpi / parser / madt_parser.h
diff --git a/lunaix-os/hal/acpi/parser/madt_parser.h b/lunaix-os/hal/acpi/parser/madt_parser.h
new file mode 100644 (file)
index 0000000..6b15296
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef __LUNAIX_PARSER_MADT_PARSER_H
+#define __LUNAIX_PARSER_MADT_PARSER_H
+
+#include <hal/acpi/acpi.h>
+
+/**
+ * @brief Parse the MADT and populated into main TOC
+ * 
+ * @param rsdt RSDT
+ * @param toc The main TOC
+ */
+void madt_parse(acpi_madt_t* madt, acpi_context* toc);
+
+#endif /* __LUNAIX_PARSER_MADT_PARSER_H */