freebsd-dev/sys/amd64
Ed Maste 6e481f83f7 Share a single bsd-linux errno table across MD consumers
Three copies of the linuxulator linux_sysvec.c contained identical
BSD to Linux errno translation tables, and future work to support other
architectures will also use the same table.  Move the table to a common
file to be used by all.  Make it 'const int' to place it in .rodata.

(Some existing Linux architectures use MD errno values, but x86 and Arm
share the generic set.)

This change should introduce no functional change; a followup will add
missing errno values.

MFC after:	3 weeks
Sponsored by:	Turing Robotic Industries Inc.
Differential Revision:	https://reviews.freebsd.org/D14665
2018-03-16 14:46:38 +00:00
..
acpica Partially revert r197863 to reduce diff against i386. 2018-02-24 01:24:57 +00:00
amd64 EFIRT: SetVirtualAddressMap with 1:1 mapping after exiting boot services 2018-03-13 17:10:52 +00:00
cloudabi32 Use TO_PTR() to convert integers to pointers. 2017-11-26 14:45:56 +00:00
cloudabi64 Use TO_PTR() to convert integers to pointers. 2017-11-26 14:45:56 +00:00
conf imcsmb(4): Intel integrated Memory Controller (iMC) SMBus controller driver 2018-03-03 01:53:51 +00:00
ia32 IBRS support, AKA Spectre hardware mitigation. 2018-01-31 14:36:27 +00:00
include Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
linux Share a single bsd-linux errno table across MD consumers 2018-03-16 14:46:38 +00:00
linux32 Share a single bsd-linux errno table across MD consumers 2018-03-16 14:46:38 +00:00
pci sys/amd64: further adoption of SPDX licensing ID tags. 2017-11-27 15:03:07 +00:00
sgx Fix module unload when SGX support is not present in CPU. 2017-08-18 14:47:06 +00:00
vmm Fix a lock recursion introduced in r327065. 2018-03-07 18:03:22 +00:00
Makefile Bring the tags and links entries for amd64 up to date. 2015-10-27 22:59:24 +00:00