libc/newlib/libc/sys/rtems/include
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
..
arpa RTEMS: Update FreeBSD version tags 2018-08-24 15:04:39 +02:00
machine RTEMS: Add kvaddr_t and ksize_t 2018-08-24 15:07:29 +02:00
net RTEMS: Introduce <machine/_kernel_if.h> 2018-08-24 15:04:43 +02:00
netinet RTEMS: Introduce <machine/_kernel_in.h> 2018-08-24 15:04:43 +02:00
netinet6 RTEMS: Introduce <machine/_kernel_in6.h> 2018-08-24 15:04:43 +02:00
sys RTEMS: Introduce <machine/_kernel_mman.h> 2018-08-24 15:04:43 +02:00
limits.h RTEMS: Increase SEM_VALUE_MAX 2016-12-20 12:39:31 +01:00
netdb.h RTEMS: Update FreeBSD version tags 2018-08-24 15:04:39 +02:00
semaphore.h RTEMS: Make sem_t self-contained 2017-10-05 14:56:12 +02:00
syslog.h Add some POSIX header files for RTEMS 2017-05-25 12:41:33 -04:00
termios.h RTEMS: Update FreeBSD version tags 2018-08-24 15:04:39 +02:00