Types#

group Types

Typedefs

typedef uint8_t u8#
typedef uint16_t u16#
typedef uint32_t u32#
typedef uint64_t u64#
typedef int8_t i8#
typedef int16_t i16#
typedef int32_t i32#
typedef int64_t i64#
typedef unsigned long reg_t#
typedef signed long ireg_t#

Enums

enum endianness_t#

Values:

enumerator ENDIAN_LITTLE#
enumerator ENDIAN_BIG#

Functions

static inline memory_area_t memory_region_to_area(memory_region_t reg)#
static inline memory_area_t physical_memory_region_to_area(physical_memory_region_t reg)#
static inline bool do_memory_areas_overlap(memory_area_t area1, memory_area_t area2)#
static inline bool do_memory_regions_overlap(memory_region_t reg1, memory_region_t reg2)#
static inline memory_area_t memory_area_expand_to_alignment(memory_area_t area, size_t align)#
static inline memory_area_t memory_area_shrink_to_alignment(memory_area_t area, size_t align)#
static inline memory_region_t memory_region_shrink_to_alignment(memory_region_t region, size_t align)#
static inline physical_memory_region_t physical_memory_region_shrink_to_alignment(physical_memory_region_t region, size_t align)#
struct memory_region_t#
#include <memory_types.h>

Represents a contiguous range of valid, addressable memory.

struct physical_memory_region_t#
#include <memory_types.h>

Represents a contiguous range of physical memory.

struct memory_area_t#
#include <memory_types.h>

Represents a range of memory, which isn’t necessarily addressable.