summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc
diff options
context:
space:
mode:
authorroyger <royger@FreeBSD.org>2014-10-22 16:58:52 +0000
committerroyger <royger@FreeBSD.org>2014-10-22 16:58:52 +0000
commit28b52d792fe59919f599dd95f29b9446e570f700 (patch)
tree3fd8164c1031c4c78183269c3db1d8ed0cdecb88 /contrib/netbsd-tests/lib/libc
parent4d53ee84fafa57a4faed008e018563a5523aa008 (diff)
downloadFreeBSD-src-28b52d792fe59919f599dd95f29b9446e570f700.zip
FreeBSD-src-28b52d792fe59919f599dd95f29b9446e570f700.tar.gz
xen: add a Xen to BSD error translation
Since Xen and FreeBSD error codes are completely different add a translation layer in order to convert Xen error codes into native FreeBSD error codes. This will be used by the privcmd device, which needs to return the hypercall errors into user-space. Sponsored by: Citrix Systems R&D xen/error.h: - Import Xen error codes. - Create a table to map Xen error codes into FreeBSD native error codes. - Create an inline function that performs the translation.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud