1#pragma once
2
3#include <uacpi/types.h>
4#include <uacpi/status.h>
5#include <uacpi/internal/namespace.h>
6
7enum uacpi_table_load_cause {
8 UACPI_TABLE_LOAD_CAUSE_LOAD_OP,
9 UACPI_TABLE_LOAD_CAUSE_LOAD_TABLE_OP,
10 UACPI_TABLE_LOAD_CAUSE_INIT,
11 UACPI_TABLE_LOAD_CAUSE_HOST,
12};
13
14uacpi_status uacpi_execute_table(void*, enum uacpi_table_load_cause cause);
15uacpi_status uacpi_osi(uacpi_handle handle, uacpi_object *retval);
16
17uacpi_status uacpi_execute_control_method(
18 uacpi_namespace_node *scope, uacpi_control_method *method,
19 const uacpi_args *args, uacpi_object **ret
20);
21