:: commit 88a2cc6cd85d8b0e5e9b88d4fe9b21db853c47b8

mintsuki <mintsuki@protonmail.com> — 2022-03-26 13:24

parents: 8b2cafc875

limine: Fix definition of limine_goto_address type

diff --git a/PROTOCOL.md b/PROTOCOL.md
index f56c0395..c621ac33 100644
--- a/PROTOCOL.md
+++ b/PROTOCOL.md
@@ -368,7 +368,7 @@ Notes: The presence of this request will prompt the bootloader to bootstrap
 the secondary processors. This will not be done if this request is not present.
 
 ```c
-typedef void (*limine_goto_address)(void);
+typedef void (*limine_goto_address)(struct limine_smp_info *);
 
 struct limine_smp_info {
     uint32_t processor_id;
diff --git a/limine.h b/limine.h
index d82f6cd8..f844464e 100644
--- a/limine.h
+++ b/limine.h
@@ -143,7 +143,7 @@ struct limine_5_level_paging_request {
 
 #define LIMINE_SMP_X2APIC (1 << 0)
 
-typedef void (*limine_goto_address)(void);
+typedef void (*limine_goto_address)(struct limine_smp_info *);
 
 struct limine_smp_info {
     uint32_t processor_id;
tab: 248 wrap: offon