:: commit e25dd260fd2795a79076af9338aba4ed39eb6271

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

parents: 88a2cc6cd8

limine: Add missing forward declaration of struct limine_smp_info

diff --git a/PROTOCOL.md b/PROTOCOL.md
index c621ac33..e1eb0568 100644
--- a/PROTOCOL.md
+++ b/PROTOCOL.md
@@ -368,6 +368,8 @@ 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
+struct limine_smp_info;
+
 typedef void (*limine_goto_address)(struct limine_smp_info *);
 
 struct limine_smp_info {
diff --git a/limine.h b/limine.h
index f844464e..1f9e0154 100644
--- a/limine.h
+++ b/limine.h
@@ -143,6 +143,8 @@ struct limine_5_level_paging_request {
 
 #define LIMINE_SMP_X2APIC (1 << 0)
 
+struct limine_smp_info;
+
 typedef void (*limine_goto_address)(struct limine_smp_info *);
 
 struct limine_smp_info {
tab: 248 wrap: offon