From c78e47dbcf7db620b5ca2743f377d9641a062d5d Mon Sep 17 00:00:00 2001 From: mintsuki Date: Mon, 21 Mar 2022 06:46:52 +0100 Subject: [PATCH] limine: Change type of entry point pointer --- common/limine.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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