]> Zhao Yanbai Git Server - minix.git/commit
Remove libkern, leave just header.
authorEvgeniy Ivanov <lolkaantimat@gmail.com>
Wed, 25 Jan 2012 12:29:07 +0000 (16:29 +0400)
committerBen Gras <ben@minix3.org>
Thu, 9 Feb 2012 17:54:42 +0000 (18:54 +0100)
commit7f2d47d84ca758d43a9bd9c1a1fefc2c1bcb3375
treecbacef892e5e33c969ea8483d7fe19a3da50f570
parent002fecdd9e3d3f458899b7446c380167c5be1924
Remove libkern, leave just header.

Boot stuff dependencies from NetBSD.

Patch by Antoine Leca. Relocated to src/sys.

The port is using the same libminc.a as usual MINIX services (and does
not use NetBSD libkern); the headers imported from NetBSD sys/ tree
have been kept to a minimum (still numbers higher than 30 though.)

Note the peculiar way to use libraries (libsa, libi386, etc.): the
source code is shared, but each component builds its own copy of the
library, with its own set of preprocessor defines.
156 files changed:
common/include/sys/Makefile.inc
common/include/sys/disklabel_gpt.h [new file with mode: 0644]
sys/arch/i386/stand/boot/Makefile.boot
sys/arch/i386/stand/bootxx/Makefile
sys/arch/i386/stand/bootxx/Makefile.bootxx
sys/arch/i386/stand/bootxx/boot1.c
sys/arch/i386/stand/cdboot/Makefile
sys/arch/i386/stand/lib/Makefile
sys/arch/x86/include/bootinfo.h [new file with mode: 0644]
sys/arch/x86/include/cpu.h [new file with mode: 0644]
sys/arch/x86/include/loadfile_machdep.h [new file with mode: 0644]
sys/arch/x86/include/pio.h [moved from sys/lib/libkern/arch/x86_64/skpc.S with 72% similarity]
sys/arch/x86/include/rwlock.h [moved from sys/lib/libkern/arch/i386/scanc.S with 62% similarity]
sys/conf/newvers_stand.sh [new file with mode: 0644]
sys/conf/osrelease.sh [new file with mode: 0644]
sys/dev/ic/comreg.h [new file with mode: 0644]
sys/dev/ic/ns16550reg.h [moved from sys/lib/libkern/lmin.c with 65% similarity]
sys/fs/cd9660/iso.h [new file with mode: 0644]
sys/fs/msdosfs/bpb.h [new file with mode: 0644]
sys/fs/msdosfs/direntry.h [new file with mode: 0644]
sys/lib/libkern/Makefile [deleted file]
sys/lib/libkern/Makefile.inc [deleted file]
sys/lib/libkern/Makefile.libkern [deleted file]
sys/lib/libkern/__main.c [deleted file]
sys/lib/libkern/arc4random.c [deleted file]
sys/lib/libkern/arch/alpha/Makefile.inc [deleted file]
sys/lib/libkern/arch/alpha/divrem.m4 [deleted file]
sys/lib/libkern/arch/alpha/htonl.S [deleted file]
sys/lib/libkern/arch/alpha/htons.S [deleted file]
sys/lib/libkern/arch/alpha/ntohl.S [deleted file]
sys/lib/libkern/arch/alpha/ntohs.S [deleted file]
sys/lib/libkern/arch/arm/Makefile.inc [deleted file]
sys/lib/libkern/arch/arm/clzsi2.S [deleted file]
sys/lib/libkern/arch/hppa/Makefile.inc [deleted file]
sys/lib/libkern/arch/hppa/bcopy.S [deleted file]
sys/lib/libkern/arch/hppa/memcpy.S [deleted file]
sys/lib/libkern/arch/hppa/memmove.S [deleted file]
sys/lib/libkern/arch/hppa/milli.S [deleted file]
sys/lib/libkern/arch/hppa/prefix.h [deleted file]
sys/lib/libkern/arch/hppa/spcopy.S [deleted file]
sys/lib/libkern/arch/i386/Makefile.inc [deleted file]
sys/lib/libkern/arch/i386/random.S [deleted file]
sys/lib/libkern/arch/ia64/Makefile.inc [deleted file]
sys/lib/libkern/arch/ia64/bswap16.S [deleted file]
sys/lib/libkern/arch/ia64/bswap32.S [deleted file]
sys/lib/libkern/arch/ia64/bswap64.S [deleted file]
sys/lib/libkern/arch/ia64/byte_swap_2.S [deleted file]
sys/lib/libkern/arch/ia64/byte_swap_4.S [deleted file]
sys/lib/libkern/arch/ia64/byte_swap_8.S [deleted file]
sys/lib/libkern/arch/ia64/divdi3.S [deleted file]
sys/lib/libkern/arch/ia64/divsi3.S [deleted file]
sys/lib/libkern/arch/ia64/htonl.S [deleted file]
sys/lib/libkern/arch/ia64/memcpy.S [deleted file]
sys/lib/libkern/arch/ia64/moddi3.S [deleted file]
sys/lib/libkern/arch/ia64/modsi3.S [deleted file]
sys/lib/libkern/arch/ia64/ntohl.S [deleted file]
sys/lib/libkern/arch/ia64/udivdi3.S [deleted file]
sys/lib/libkern/arch/ia64/udivsi3.S [deleted file]
sys/lib/libkern/arch/ia64/umoddi3.S [deleted file]
sys/lib/libkern/arch/ia64/umodsi3.S [deleted file]
sys/lib/libkern/arch/m68k/DEFS.h [deleted file]
sys/lib/libkern/arch/m68k/Makefile.inc [deleted file]
sys/lib/libkern/arch/m68k/random.S [deleted file]
sys/lib/libkern/arch/m68k/scanc.S [deleted file]
sys/lib/libkern/arch/m68k/skpc.S [deleted file]
sys/lib/libkern/arch/mips/Makefile.inc [deleted file]
sys/lib/libkern/arch/powerpc/Makefile.inc [deleted file]
sys/lib/libkern/arch/powerpc/gprsavrest.S [deleted file]
sys/lib/libkern/arch/powerpc/memset.S [deleted file]
sys/lib/libkern/arch/powerpc/syncicache.c [deleted file]
sys/lib/libkern/arch/sh3/Makefile.inc [deleted file]
sys/lib/libkern/arch/sh3/ashiftrt.S [deleted file]
sys/lib/libkern/arch/sh3/ashlsi3.S [deleted file]
sys/lib/libkern/arch/sh3/ashrsi3.S [deleted file]
sys/lib/libkern/arch/sh3/byte_swap_2.S [deleted file]
sys/lib/libkern/arch/sh3/byte_swap_4.S [deleted file]
sys/lib/libkern/arch/sh3/byte_swap_8.S [deleted file]
sys/lib/libkern/arch/sh3/lshrsi3.S [deleted file]
sys/lib/libkern/arch/sh3/movstr.S [deleted file]
sys/lib/libkern/arch/sh3/movstrSI.S [deleted file]
sys/lib/libkern/arch/sh3/movstrSI12_i4.S [deleted file]
sys/lib/libkern/arch/sh3/movstr_i4.S [deleted file]
sys/lib/libkern/arch/sh3/mulsi3.S [deleted file]
sys/lib/libkern/arch/sh3/sdivsi3.S [deleted file]
sys/lib/libkern/arch/sh3/sdivsi3_i4i.S [deleted file]
sys/lib/libkern/arch/sh3/udivsi3_i4i.S [deleted file]
sys/lib/libkern/arch/sparc/Makefile.inc [deleted file]
sys/lib/libkern/arch/sparc/divrem.m4 [deleted file]
sys/lib/libkern/arch/sparc/random.S [deleted file]
sys/lib/libkern/arch/sparc64/Makefile.inc [deleted file]
sys/lib/libkern/arch/sparc64/divrem.m4 [deleted file]
sys/lib/libkern/arch/sparc64/random.S [deleted file]
sys/lib/libkern/arch/usermode/Makefile.inc [deleted file]
sys/lib/libkern/arch/vax/Makefile.inc [deleted file]
sys/lib/libkern/arch/vax/blkset.S [deleted file]
sys/lib/libkern/arch/vax/random.S [deleted file]
sys/lib/libkern/arch/x86_64/Makefile.inc [deleted file]
sys/lib/libkern/arch/x86_64/random.S [deleted file]
sys/lib/libkern/bcd.c [deleted file]
sys/lib/libkern/crc32.c [deleted file]
sys/lib/libkern/crc32.h [deleted file]
sys/lib/libkern/imax.c [deleted file]
sys/lib/libkern/imin.c [deleted file]
sys/lib/libkern/intoa.c [deleted file]
sys/lib/libkern/kern_assert.c [deleted file]
sys/lib/libkern/libkern.h
sys/lib/libkern/lmax.c [deleted file]
sys/lib/libkern/max.c [deleted file]
sys/lib/libkern/mertwist.c [deleted file]
sys/lib/libkern/milieu.h [deleted file]
sys/lib/libkern/min.c [deleted file]
sys/lib/libkern/pmatch.c [deleted file]
sys/lib/libkern/rngtest.c [deleted file]
sys/lib/libkern/scanc.c [deleted file]
sys/lib/libkern/skpc.c [deleted file]
sys/lib/libkern/softfloat-macros.h [deleted file]
sys/lib/libkern/softfloat-specialize.h [deleted file]
sys/lib/libkern/softfloat.c [deleted file]
sys/lib/libkern/softfloat.h [deleted file]
sys/lib/libkern/ulmax.c [deleted file]
sys/lib/libkern/ulmin.c [deleted file]
sys/lib/libsa/Makefile
sys/lib/libsa/cread.c
sys/lib/libsa/minixfs3.h
sys/lib/libsa/saerrno.h
sys/lib/libsa/xlat_mbr_fstype.c [moved from sys/lib/libkern/xlat_mbr_fstype.c with 93% similarity]
sys/lib/libz/Makefile [new file with mode: 0644]
sys/lib/libz/Makefile.inc [new file with mode: 0644]
sys/lib/libz/libz.h [new file with mode: 0644]
sys/lib/libz/zalloc.c [moved from sys/lib/libkern/arch/x86_64/scanc.S with 71% similarity]
sys/machine/bootinfo.h [new file with mode: 0644]
sys/machine/cdefs.h [new file with mode: 0644]
sys/machine/cpu.h [moved from sys/lib/libkern/arch/sh3/udivsi3.S with 55% similarity]
sys/machine/loadfile_machdep.h [new file with mode: 0644]
sys/machine/multiboot.h [new file with mode: 0644]
sys/machine/pio.h [new file with mode: 0644]
sys/machine/rwlock.h [new file with mode: 0644]
sys/net/radix.h [new file with mode: 0644]
sys/net/route.h [new file with mode: 0644]
sys/netinet/in.h [new file with mode: 0644]
sys/netinet/in_systm.h [moved from sys/lib/libkern/arch/sparc64/DEFS.h with 65% similarity]
sys/netinet/ip.h [new file with mode: 0644]
sys/netinet/ip_var.h [new file with mode: 0644]
sys/netinet/udp.h [moved from sys/lib/libkern/arch/vax/blkcpy.S with 63% similarity]
sys/netinet/udp_var.h [new file with mode: 0644]
sys/stdlib.h [new file with mode: 0644]
sys/sys/boot_flag.h [new file with mode: 0644]
sys/sys/condvar.h [moved from sys/lib/libkern/arch/i386/skpc.S with 62% similarity]
sys/sys/disklabel.h [new file with mode: 0644]
sys/sys/exec.h [new file with mode: 0644]
sys/sys/mount.h [new file with mode: 0644]
sys/sys/mutex.h [new file with mode: 0644]
sys/sys/reboot.h [new file with mode: 0644]
sys/sys/rwlock.h [new file with mode: 0644]
sys/sys/stat.h [new file with mode: 0644]
sys/sys/stdarg.h [new file with mode: 0644]