RTEMS
Functions
address.h File Reference

Information Required to Manipulate Physical Addresses. More...

#include <rtems/score/cpu.h>

Go to the source code of this file.

Functions

RTEMS_INLINE_ROUTINE void * _Addresses_Add_offset (const void *base, uintptr_t offset)
 Adds offset to an address. More...
 
RTEMS_INLINE_ROUTINE void * _Addresses_Subtract_offset (const void *base, uintptr_t offset)
 Subtracts offset from an address. More...
 
RTEMS_INLINE_ROUTINE intptr_t _Addresses_Subtract (const void *left, const void *right)
 Subtracts two addresses. More...
 
RTEMS_INLINE_ROUTINE bool _Addresses_Is_aligned (const void *address)
 Checks if address is aligned. More...
 
RTEMS_INLINE_ROUTINE bool _Addresses_Is_in_range (const void *address, const void *base, const void *limit)
 Checks if address is in range. More...
 
RTEMS_INLINE_ROUTINE void * _Addresses_Align_up (void *address, size_t alignment)
 Aligns address to nearest multiple of alignment, rounding up. More...
 
RTEMS_INLINE_ROUTINE void * _Addresses_Align_down (void *address, size_t alignment)
 Aligns address to nearest multiple of alignment, truncating. More...
 

Detailed Description

Information Required to Manipulate Physical Addresses.

This include file contains the information required to manipulate physical addresses.

Definition in file address.h.