RTEMS  5.0.0
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)
 Add offset to an address. More...
 
RTEMS_INLINE_ROUTINE void * _Addresses_Subtract_offset (const void *base, uintptr_t offset)
 Subtract offset from offset. More...
 
RTEMS_INLINE_ROUTINE intptr_t _Addresses_Subtract (const void *left, const void *right)
 Subtract two addresses. More...
 
RTEMS_INLINE_ROUTINE bool _Addresses_Is_aligned (const void *address)
 Is address aligned. More...
 
RTEMS_INLINE_ROUTINE bool _Addresses_Is_in_range (const void *address, const void *base, const void *limit)
 Is address in range. More...
 
RTEMS_INLINE_ROUTINE void * _Addresses_Align_up (void *address, size_t alignment)
 Align address to nearest multiple of alignment, rounding up. More...
 
RTEMS_INLINE_ROUTINE void * _Addresses_Align_down (void *address, size_t alignment)
 Align 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.