:: commit c78e47dbcf7db620b5ca2743f377d9641a062d5d

mintsuki <mintsuki@protonmail.com> — 2022-03-21 05:46

parents: 733865c9a6

limine: Change type of entry point pointer

diff --git a/common/limine.h b/common/limine.h
index 64cc1168..241181ab 100644
--- a/common/limine.h
+++ b/common/limine.h
@@ -197,6 +197,8 @@ struct limine_memmap_request {
 
 #define LIMINE_ENTRY_POINT_REQUEST { LIMINE_COMMON_MAGIC, 0x13d86c035a1cd3e1, 0x2b0caa89d8f3026a }
 
+typedef void (*limine_entry_point)(void);
+
 struct limine_entry_point_response {
     uint64_t revision;
 };
@@ -205,7 +207,7 @@ struct limine_entry_point_request {
     uint64_t id[4];
     uint64_t revision;
     LIMINE_PTR(struct limine_entry_point_response *) response;
-    LIMINE_PTR(void *) entry;
+    LIMINE_PTR(limine_entry_point) entry;
 };
 
 // Module
tab: 248 wrap: offon