PatchworkOS
Loading...
Searching...
No Matches
integer.h File Reference
#include <kernel/defs.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define AML_TRUE   aml_integer_ones()
 AML Boolean true value.
 
#define AML_FALSE   0
 AML Boolean false value.
 

Typedefs

typedef uint64_t aml_integer_t
 AML Integer type.
 

Functions

uint64_t aml_integer_handling_init (void)
 Initialize integer handling.
 
uint8_t aml_integer_byte_size (void) PURE_FUNC
 Get the byte size of an AML integer.
 
uint8_t aml_integer_bit_size (void) PURE_FUNC
 Get the bit size of an AML integer.
 
aml_integer_t aml_integer_ones (void) PURE_FUNC
 Get a mask with all bits set for the current AML integer size.