feat: initial ACPI support

This commit is contained in:
Loïc Grégoire
2026-04-11 15:21:24 -04:00
parent 138031690d
commit 1166e0af43
10 changed files with 610 additions and 4 deletions
+4 -2
View File
@@ -10,6 +10,8 @@ else if (@hasDecl(config, "CONFIG_ARCH_UM"))
else
@compileError("unsupported architecture");
pub const acpi = @import("acpi/root.zig");
/// Early platform-specific initialization, called before anything else.
pub inline fn early_init(boot_info: *BootInfo) void {
return impl.early_init(boot_info);
@@ -17,8 +19,8 @@ pub inline fn early_init(boot_info: *BootInfo) void {
/// Late platform init. Memory allocator is available at this point.
/// SMP bringup must be done after this returns.
pub inline fn late_init() void {
return impl.late_init();
pub inline fn late_init(boot_info: *BootInfo) void {
return impl.late_init(boot_info);
}
/// Write a single character to the debug console.