chore: fix almost *ALL* warnings.
[lunaix-os.git] / lunaix-os / includes / hal / acpi / acpi.h
index 2e788d27414f3cc0959a9c97c3ed7123e392c6aa..0e93f20d4ceb7386f67b746a7a047a1b43640df2 100644 (file)
 
 typedef struct
 {
-    uint32_t signature_l;
-    uint32_t signature_h;
-    uint8_t chksum;
+    u32_t signature_l;
+    u32_t signature_h;
+    u8_t chksum;
     char oem_id[6];
     // Revision
-    uint8_t rev;
+    u8_t rev;
     acpi_rsdt_t* rsdt;
-    uint32_t length;
+    u32_t length;
     acpi_sdthdr_t* xsdt;
-    uint8_t x_chksum;
+    u8_t x_chksum;
     char reserved[3]; // Reserved field
 } __attribute__((packed)) acpi_rsdp_t;
 
@@ -56,4 +56,7 @@ acpi_init(multiboot_info_t* mb_info);
 acpi_context*
 acpi_get_context();
 
+u8_t
+acpi_gistranslate(u8_t old_irq);
+
 #endif /* __LUNAIX_ACPI_ACPI_H */