From 88a2cc6cd85d8b0e5e9b88d4fe9b21db853c47b8 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Sat, 26 Mar 2022 14:24:08 +0100 Subject: [PATCH] limine: Fix definition of limine_goto_address type --- PROTOCOL.md | 2 +- limine.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;