opnsense-src/sys/i386
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 Minor cleanups found while fixing a bug involving double mapping of low 2017-12-15 03:05:14 +00:00
bios inittodr(0) actually sets the time, so there's no need to call 2018-01-10 17:25:08 +00:00
cloudabi32 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
i386 ANSIfy i386/vm86.c 2018-03-16 12:12:41 +00:00
ibcs2 sys: Fix a few potential infoleaks in cloudabi 2018-03-07 14:44:32 +00:00
include Remove obsolete pcaudioio.h. 2018-03-11 16:17:53 +00:00
linux Share a single bsd-linux errno table across MD consumers 2018-03-16 14:46:38 +00:00
pci Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
Makefile