1#pragma once
2
3#include <uacpi/types.h>
4#include <uacpi/opregion.h>
5
6void uacpi_trace_region_error(
7 uacpi_namespace_node *node, uacpi_char *message, uacpi_status ret
8);
9void uacpi_trace_region_io(
10 uacpi_namespace_node *node, uacpi_region_op op,
11 uacpi_u64 offset, uacpi_u8 byte_size, uacpi_u64 ret
12);
13
14void uacpi_opregion_uninstall_handler(uacpi_namespace_node *node);
15
16uacpi_address_space_handlers *uacpi_node_get_address_space_handlers(
17 uacpi_namespace_node *node
18);
19
20uacpi_status uacpi_opregion_find_and_install_handler(
21 uacpi_namespace_node *node
22);
23
24void uacpi_opregion_reg(uacpi_namespace_node *node);
25uacpi_status uacpi_opregion_attach(uacpi_namespace_node *node);
26
27void uacpi_install_default_address_space_handlers(void);
28