forked from Imagelibrary/rtems
* address.h, address.inl, chain.c, chain.h, system.h: Eliminate unsigned8, unsigned16, unsigned32. Use size_t, ptrdiff_t, intptr_t for 64bit compliance. * chain.c: Reflect removal of isr.h. * isr.h: Remove. * Makefile.am: Remove isr.h.
37 lines
695 B
C
37 lines
695 B
C
/* address.h
|
|
*
|
|
* This include file contains the information required to manipulate
|
|
* physical addresses.
|
|
*
|
|
* COPYRIGHT (c) 1988-2002.
|
|
* On-Line Applications Research Corporation (OAR).
|
|
* All rights reserved.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef __ADDRESSES_h
|
|
#define __ADDRESSES_h
|
|
|
|
#include <stddef.h>
|
|
|
|
/*
|
|
* _Addresses_Add_offset
|
|
*
|
|
* DESCRIPTION:
|
|
*
|
|
* This function is used to add an offset to a base address.
|
|
* It returns the resulting address. This address is typically
|
|
* converted to an access type before being used further.
|
|
*/
|
|
|
|
STATIC INLINE void *_Addresses_Add_offset (
|
|
void *base,
|
|
size_t offset
|
|
);
|
|
|
|
#include "address.inl"
|
|
|
|
#endif
|
|
/* end of include file */
|