libc/newlib/libc/sys
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
..
a29khif Add nvptx port. 2018-04-13 15:42:37 -04:00
arm Add nvptx port. 2018-04-13 15:42:37 -04:00
d10v Add nvptx port. 2018-04-13 15:42:37 -04:00
decstation Add nvptx port. 2018-04-13 15:42:37 -04:00
epiphany Add nvptx port. 2018-04-13 15:42:37 -04:00
h8300hms Add nvptx port. 2018-04-13 15:42:37 -04:00
h8500hms Add nvptx port. 2018-04-13 15:42:37 -04:00
linux Add nvptx port. 2018-04-13 15:42:37 -04:00
m88kbug Add nvptx port. 2018-04-13 15:42:37 -04:00
mmixware Add nvptx port. 2018-04-13 15:42:37 -04:00
netware Add nvptx port. 2018-04-13 15:42:37 -04:00
or1k Add nvptx port. 2018-04-13 15:42:37 -04:00
phoenix Add nvptx port. 2018-04-13 15:42:37 -04:00
rdos Add nvptx port. 2018-04-13 15:42:37 -04:00
rtems RTEMS: Add kvaddr_t and ksize_t 2018-08-24 15:07:29 +02:00
sh Add nvptx port. 2018-04-13 15:42:37 -04:00
sparc64 Add nvptx port. 2018-04-13 15:42:37 -04:00
sun4 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysmec Add nvptx port. 2018-04-13 15:42:37 -04:00
sysnec810 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysnecv850 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysvi386 Add nvptx port. 2018-04-13 15:42:37 -04:00
sysvnecv70 Add nvptx port. 2018-04-13 15:42:37 -04:00
tic80 Add nvptx port. 2018-04-13 15:42:37 -04:00
tirtos Add nvptx port. 2018-04-13 15:42:37 -04:00
w65 Add nvptx port. 2018-04-13 15:42:37 -04:00
z8ksim Add nvptx port. 2018-04-13 15:42:37 -04:00
Makefile.am Make newlib manpages (v3) 2016-07-04 14:17:10 +01:00
Makefile.in Regenerate newlib Makefiles 2016-07-04 17:13:55 +01:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
configure Add nvptx port. 2018-04-13 15:42:37 -04:00
configure.in Add port for Phoenix-RTOS in common configure files. 2016-05-09 15:23:58 -04:00