mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-29 06:28:21 +00:00
feat: initial ACPI support
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user