1 | #pragma once |
---|---|
2 | |
3 | #include <uacpi/types.h> |
4 | #include <uacpi/acpi.h> |
5 | #include <uacpi/io.h> |
6 | |
7 | uacpi_size uacpi_round_up_bits_to_bytes(uacpi_size bit_length); |
8 | |
9 | void uacpi_read_buffer_field( |
10 | const uacpi_buffer_field *field, void *dst |
11 | ); |
12 | void uacpi_write_buffer_field( |
13 | uacpi_buffer_field *field, const void *src, uacpi_size size |
14 | ); |
15 | |
16 | uacpi_status uacpi_read_field_unit( |
17 | uacpi_field_unit *field, void *dst, uacpi_size size |
18 | ); |
19 | uacpi_status uacpi_write_field_unit( |
20 | uacpi_field_unit *field, const void *src, uacpi_size size |
21 | ); |
22 |