RTEMS: cpukit/include/rtems/score/address.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
address.h File Reference
Internal » SuperCore » Address Handler

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

## Detailed Description

Information Required to Manipulate Physical Addresses.

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