libc/newlib/libc/sys/rtems/include/machine
Sebastian Huber d13c84eb07 RTEMS: Add kvaddr_t and ksize_t
These types were introduced by FreeBSD commit:

"Make struct xinpcb and friends word-size independent.

Replace size_t members with ksize_t (uint64_t) and pointer members
(never used as pointers in userspace, but instead as unique
idenitifiers) with kvaddr_t (uint64_t). This makes the structs
identical between 32-bit and 64-bit ABIs.

On 64-bit bit systems, the ABI is maintained. On 32-bit systems,
this is an ABI breaking change. The ABI of most of these structs
was previously broken in r315662.  This also imposes a small API
change on userspace consumers who must handle kernel pointers
becoming virtual addresses.

PR:		228301 (exp-run by antoine)
Reviewed by:	jtl, kib, rwatson (various versions)
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D15386"

In RTEMS, there is no user/kernel space separation.  So, use the types
size_t and uintptr_t.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2018-08-24 15:07:29 +02:00
..
_align.h Add generic <machine/_align.h> for RTEMS 2017-05-25 12:33:02 -04:00
_arc4random.h Add arc4random() etc. from OpenBSD 5.8 2016-03-18 12:33:41 +01:00
_bitcount.h Add __bitcount*() to RTEMS <machine/types.h> 2017-05-25 12:35:38 -04:00
_libatomic.h Add RTEMS support for GCC libatomic 2016-04-20 11:01:51 +02:00
_threads.h RTEMS: Optimize pthread_once_t 2017-10-05 14:56:12 +02:00
_time.h RTEMS: Remove internal timecounter API 2017-10-26 08:47:21 +02:00
_types.h RTEMS: Unconditionally define _off_t to int64_t 2018-07-20 06:53:21 +02:00
limits.h Move header files 2015-07-29 12:53:53 -07:00
param.h FreeBSD compatibility for RTEMS <sys/param.h> 2017-05-25 12:33:40 -04:00
types.h RTEMS: Add kvaddr_t and ksize_t 2018-08-24 15:07:29 +02:00