Kernel: ACPI add \_OS string
This commit is contained in:
parent
f671ed7e3f
commit
0179f5ea09
|
@ -226,6 +226,10 @@ namespace Kernel::ACPI
|
|||
};
|
||||
ASSERT(s_root_namespace->add_named_object(context, AML::NameString("\\_OSI"), osi));
|
||||
|
||||
auto os_string = MUST(BAN::RefPtr<AML::String>::create("banan-os"_sv));
|
||||
auto os = MUST(BAN::RefPtr<AML::Name>::create("_OS"_sv, os_string));
|
||||
ASSERT(s_root_namespace->add_named_object(context, AML::NameString("\\_OS"), os));
|
||||
|
||||
return s_root_namespace;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue