PatchworkOS
Loading...
Searching...
No Matches
integer.h
Go to the documentation of this file.
1#pragma once
2
3#include <kernel/defs.h>
4#include <stdint.h>
5
21
25#define AML_TRUE aml_integer_ones()
26
30#define AML_FALSE 0
31
38
45
52
59
uint8_t aml_integer_bit_size(void) PURE_FUNC
Get the bit size of an AML integer.
Definition integer.c:27
uint64_t aml_integer_t
AML Integer type.
Definition integer.h:20
uint64_t aml_integer_handling_init(void)
Initialize integer handling.
Definition integer.c:8
aml_integer_t aml_integer_ones(void) PURE_FUNC
Get a mask with all bits set for the current AML integer size.
Definition integer.c:32
uint8_t aml_integer_byte_size(void) PURE_FUNC
Get the byte size of an AML integer.
Definition integer.c:22
#define PURE_FUNC
GCC.
Definition defs.h:65
__UINT64_TYPE__ uint64_t
Definition stdint.h:17
__UINT8_TYPE__ uint8_t
Definition stdint.h:11