1993-08-21 22:24:24 +00:00
|
|
|
# This file tells config what files go into building a kernel,
|
|
|
|
# files marked standard are always included.
|
1993-06-12 14:58:17 +00:00
|
|
|
#
|
1996-03-29 13:39:48 +00:00
|
|
|
# $Id: files.i386,v 1.132 1996/03/26 19:57:23 wollman Exp $
|
1993-06-12 14:58:17 +00:00
|
|
|
#
|
1995-04-16 01:20:00 +00:00
|
|
|
aic7xxx_asm optional ahc device-driver \
|
|
|
|
dependency "$S/dev/aic7xxx/aic7xxx_asm.c" \
|
|
|
|
compile-with "${CC} -Wall -o $@ $>" \
|
1995-03-01 10:08:07 +00:00
|
|
|
no-obj no-implicit-rule \
|
1995-07-22 23:53:30 +00:00
|
|
|
clean "aic7xxx_asm"
|
Mega-commit for Linux emulator update.. This has been stress tested under
netscape-2.0 for Linux running all the Java stuff. The scrollbars are now
working, at least on my machine. (whew! :-)
I'm uncomfortable with the size of this commit, but it's too
inter-dependant to easily seperate out.
The main changes:
COMPAT_LINUX is *GONE*. Most of the code has been moved out of the i386
machine dependent section into the linux emulator itself. The int 0x80
syscall code was almost identical to the lcall 7,0 code and a minor tweak
allows them to both be used with the same C code. All kernels can now
just modload the lkm and it'll DTRT without having to rebuild the kernel
first. Like IBCS2, you can statically compile it in with "options LINUX".
A pile of new syscalls implemented, including getdents(), llseek(),
readv(), writev(), msync(), personality(). The Linux-ELF libraries want
to use some of these.
linux_select() now obeys Linux semantics, ie: returns the time remaining
of the timeout value rather than leaving it the original value.
Quite a few bugs removed, including incorrect arguments being used in
syscalls.. eg: mixups between passing the sigset as an int, vs passing
it as a pointer and doing a copyin(), missing return values, unhandled
cases, SIOC* ioctls, etc.
The build for the code has changed. i386/conf/files now knows how
to build linux_genassym and generate linux_assym.h on the fly.
Supporting changes elsewhere in the kernel:
The user-mode signal trampoline has moved from the U area to immediately
below the top of the stack (below PS_STRINGS). This allows the different
binary emulations to have their own signal trampoline code (which gets rid
of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so
that the emulator can provide the exact "struct sigcontext *" argument to
the program's signal handlers.
The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which
have the same values as the re-used SA_DISABLE and SA_ONSTACK which are
intended for sigaction only. This enables the support of a SA_RESETHAND
flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal
semantics where the signal handler is reset when it's triggered.
makesyscalls.sh no longer appends the struct sysentvec on the end of the
generated init_sysent.c code. It's a lot saner to have it in a seperate
file rather than trying to update the structure inside the awk script. :-)
At exec time, the dozen bytes or so of signal trampoline code are copied
to the top of the user's stack, rather than obtaining the trampoline code
the old way by getting a clone of the parent's user area. This allows
Linux and native binaries to freely exec each other without getting
trampolines mixed up.
1996-03-02 19:38:20 +00:00
|
|
|
#
|
1995-02-17 08:45:59 +00:00
|
|
|
aic7xxx_seq.h optional ahc device-driver \
|
1996-01-03 06:26:15 +00:00
|
|
|
compile-with "./aic7xxx_asm -o $@ $S/dev/aic7xxx/aic7xxx.seq" \
|
1995-03-01 10:08:07 +00:00
|
|
|
no-obj no-implicit-rule before-depend \
|
1996-01-03 06:26:15 +00:00
|
|
|
clean "aic7xxx_seq.h" \
|
|
|
|
dependency "$S/dev/aic7xxx/aic7xxx_reg.h $S/dev/aic7xxx/aic7xxx.seq aic7xxx_asm"
|
Mega-commit for Linux emulator update.. This has been stress tested under
netscape-2.0 for Linux running all the Java stuff. The scrollbars are now
working, at least on my machine. (whew! :-)
I'm uncomfortable with the size of this commit, but it's too
inter-dependant to easily seperate out.
The main changes:
COMPAT_LINUX is *GONE*. Most of the code has been moved out of the i386
machine dependent section into the linux emulator itself. The int 0x80
syscall code was almost identical to the lcall 7,0 code and a minor tweak
allows them to both be used with the same C code. All kernels can now
just modload the lkm and it'll DTRT without having to rebuild the kernel
first. Like IBCS2, you can statically compile it in with "options LINUX".
A pile of new syscalls implemented, including getdents(), llseek(),
readv(), writev(), msync(), personality(). The Linux-ELF libraries want
to use some of these.
linux_select() now obeys Linux semantics, ie: returns the time remaining
of the timeout value rather than leaving it the original value.
Quite a few bugs removed, including incorrect arguments being used in
syscalls.. eg: mixups between passing the sigset as an int, vs passing
it as a pointer and doing a copyin(), missing return values, unhandled
cases, SIOC* ioctls, etc.
The build for the code has changed. i386/conf/files now knows how
to build linux_genassym and generate linux_assym.h on the fly.
Supporting changes elsewhere in the kernel:
The user-mode signal trampoline has moved from the U area to immediately
below the top of the stack (below PS_STRINGS). This allows the different
binary emulations to have their own signal trampoline code (which gets rid
of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so
that the emulator can provide the exact "struct sigcontext *" argument to
the program's signal handlers.
The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which
have the same values as the re-used SA_DISABLE and SA_ONSTACK which are
intended for sigaction only. This enables the support of a SA_RESETHAND
flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal
semantics where the signal handler is reset when it's triggered.
makesyscalls.sh no longer appends the struct sysentvec on the end of the
generated init_sysent.c code. It's a lot saner to have it in a seperate
file rather than trying to update the structure inside the awk script. :-)
At exec time, the dozen bytes or so of signal trampoline code are copied
to the top of the user's stack, rather than obtaining the trampoline code
the old way by getting a clone of the parent's user area. This allows
Linux and native binaries to freely exec each other without getting
trampolines mixed up.
1996-03-02 19:38:20 +00:00
|
|
|
#
|
|
|
|
linux_genassym optional linux \
|
|
|
|
dependency "$S/i386/linux/linux_genassym.c $S/i386/linux/linux.h" \
|
|
|
|
compile-with "${CC} ${CFLAGS} -o $@ $<" \
|
|
|
|
no-obj no-implicit-rule \
|
|
|
|
clean "linux_genassym"
|
|
|
|
#
|
|
|
|
linux_assym.h optional linux \
|
|
|
|
dependency "linux_genassym" \
|
|
|
|
compile-with "./linux_genassym > $@" \
|
|
|
|
no-obj no-implicit-rule before-depend \
|
|
|
|
clean "linux_assym.h"
|
|
|
|
#
|
1995-07-04 21:00:53 +00:00
|
|
|
i386/scsi/93cx6.c optional ahc device-driver
|
1994-10-01 02:56:21 +00:00
|
|
|
i386/apm/apm.c optional apm device-driver
|
|
|
|
i386/apm/apm_setup.s optional apm
|
1996-02-26 00:58:38 +00:00
|
|
|
i386/eisa/3c5x9.c optional ep device-driver
|
1995-11-05 04:38:55 +00:00
|
|
|
i386/eisa/aic7770.c optional ahc device-driver
|
1995-11-09 22:43:25 +00:00
|
|
|
i386/eisa/aha1742.c optional ahb device-driver
|
1995-12-12 08:46:40 +00:00
|
|
|
i386/eisa/bt74x.c optional bt device-driver
|
1995-11-05 04:38:55 +00:00
|
|
|
i386/eisa/eisaconf.c optional eisa
|
1994-08-24 11:44:45 +00:00
|
|
|
i386/i386/autoconf.c standard device-driver
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/i386/cons.c standard
|
|
|
|
i386/i386/db_disasm.c optional ddb
|
|
|
|
i386/i386/db_interface.c optional ddb
|
|
|
|
i386/i386/db_trace.c optional ddb
|
1994-08-30 17:18:34 +00:00
|
|
|
i386/i386/exception.s standard
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/i386/in_cksum.c optional inet
|
1994-08-30 17:18:34 +00:00
|
|
|
# locore.s needs to be handled in Makefile to put it first. Otherwise it's
|
|
|
|
# now normal.
|
|
|
|
# i386/i386/locore.s standard
|
|
|
|
i386/i386/machdep.c standard
|
1993-08-28 13:21:48 +00:00
|
|
|
i386/i386/math_emulate.c optional math_emulate
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/i386/mem.c standard
|
|
|
|
i386/i386/microtime.s standard
|
1996-03-26 19:57:56 +00:00
|
|
|
i386/i386/perfmon.c optional perfmon
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/i386/pmap.c standard
|
1996-01-24 18:47:58 +00:00
|
|
|
i386/i386/procfs_machdep.c standard
|
1994-08-30 17:18:34 +00:00
|
|
|
i386/i386/support.s standard
|
|
|
|
i386/i386/swtch.s standard
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/i386/sys_machdep.c standard
|
|
|
|
i386/i386/trap.c standard
|
1994-11-03 15:51:38 +00:00
|
|
|
i386/i386/userconfig.c standard
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/i386/vm_machdep.c standard
|
1995-10-10 08:04:10 +00:00
|
|
|
i386/ibcs2/ibcs2_fcntl.c optional ibcs2
|
|
|
|
i386/ibcs2/ibcs2_stat.c optional ibcs2
|
1994-08-24 11:44:45 +00:00
|
|
|
i386/ibcs2/ibcs2_ipc.c optional ibcs2
|
1995-10-10 08:04:10 +00:00
|
|
|
i386/ibcs2/ibcs2_msg.c optional ibcs2
|
1994-08-24 11:44:45 +00:00
|
|
|
i386/ibcs2/ibcs2_misc.c optional ibcs2
|
1995-10-10 08:04:10 +00:00
|
|
|
i386/ibcs2/ibcs2_other.c optional ibcs2
|
1994-08-24 11:44:45 +00:00
|
|
|
i386/ibcs2/ibcs2_signal.c optional ibcs2
|
1995-10-10 08:04:10 +00:00
|
|
|
i386/ibcs2/ibcs2_ioctl.c optional ibcs2
|
1995-02-17 08:45:59 +00:00
|
|
|
i386/ibcs2/ibcs2_socksys.c optional ibcs2
|
1994-08-24 11:44:45 +00:00
|
|
|
i386/ibcs2/ibcs2_sysi86.c optional ibcs2
|
1995-10-10 08:04:10 +00:00
|
|
|
i386/ibcs2/ibcs2_util.c optional ibcs2
|
|
|
|
i386/ibcs2/ibcs2_isc.c optional ibcs2
|
|
|
|
i386/ibcs2/ibcs2_isc_sysent.c optional ibcs2
|
1994-08-24 11:44:45 +00:00
|
|
|
i386/ibcs2/ibcs2_xenix.c optional ibcs2
|
1995-10-10 08:04:10 +00:00
|
|
|
i386/ibcs2/ibcs2_xenix_sysent.c optional ibcs2
|
|
|
|
i386/ibcs2/ibcs2_errno.c optional ibcs2
|
|
|
|
i386/ibcs2/ibcs2_sysent.c optional ibcs2
|
|
|
|
i386/ibcs2/ibcs2_sysvec.c optional ibcs2
|
1994-08-24 11:44:45 +00:00
|
|
|
i386/ibcs2/imgact_coff.c optional ibcs2
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/isa/aha1542.c optional aha device-driver
|
1994-09-26 16:15:06 +00:00
|
|
|
i386/isa/aic6360.c optional aic device-driver
|
1994-09-21 01:30:15 +00:00
|
|
|
i386/isa/b004.c optional bqu device-driver
|
1995-12-12 08:46:40 +00:00
|
|
|
i386/isa/bt5xx-445.c optional bt device-driver
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/isa/clock.c standard
|
1994-12-11 23:39:01 +00:00
|
|
|
i386/isa/cronyx.c optional cx device-driver
|
1994-10-01 17:59:42 +00:00
|
|
|
i386/isa/ctx.c optional ctx device-driver
|
1994-12-11 23:39:01 +00:00
|
|
|
i386/isa/cx.c optional cx device-driver
|
1995-02-09 09:47:31 +00:00
|
|
|
i386/isa/cy.c optional cy device-driver
|
1995-02-23 17:19:54 +00:00
|
|
|
i386/isa/diskslice_machdep.c standard
|
1995-02-17 08:45:59 +00:00
|
|
|
i386/isa/elink.c optional ep device-driver
|
|
|
|
i386/isa/elink.c optional ie device-driver
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/isa/fd.c optional fd device-driver
|
1994-02-07 04:27:59 +00:00
|
|
|
i386/isa/ft.c optional ft device-driver
|
1994-12-17 08:07:03 +00:00
|
|
|
i386/isa/gpib.c optional gp device-driver
|
1995-09-08 03:20:10 +00:00
|
|
|
i386/isa/asc.c optional asc device-driver
|
1995-01-07 14:52:08 +00:00
|
|
|
i386/isa/gsc.c optional gsc device-driver
|
1995-11-21 02:50:10 +00:00
|
|
|
i386/isa/if_ar.c optional ar device-driver
|
1994-12-11 23:39:01 +00:00
|
|
|
i386/isa/if_cx.c optional cx device-driver
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/isa/if_ed.c optional ed device-driver
|
1995-04-08 09:36:04 +00:00
|
|
|
i386/isa/if_eg.c optional eg device-driver
|
1994-04-07 12:10:31 +00:00
|
|
|
i386/isa/if_el.c optional el device-driver
|
1994-01-09 13:30:50 +00:00
|
|
|
i386/isa/if_ep.c optional ep device-driver
|
1995-04-23 18:30:27 +00:00
|
|
|
i386/isa/if_fe.c optional fe device-driver
|
1993-10-10 16:25:13 +00:00
|
|
|
i386/isa/if_ie.c optional ie device-driver
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/isa/if_ix.c optional ix device-driver
|
1994-08-12 06:51:12 +00:00
|
|
|
i386/isa/if_le.c optional le device-driver
|
1994-09-02 15:49:48 +00:00
|
|
|
i386/isa/if_lnc.c optional lnc device-driver
|
1994-09-01 02:21:20 +00:00
|
|
|
i386/isa/if_ze.c optional ze device-driver
|
1995-02-17 02:22:57 +00:00
|
|
|
i386/isa/if_zp.c optional zp device-driver
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/isa/isa.c optional isa device-driver
|
1995-01-25 21:04:15 +00:00
|
|
|
i386/isa/joy.c optional joy device-driver
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/isa/lpt.c optional lpt device-driver
|
1995-04-28 00:51:40 +00:00
|
|
|
i386/isa/labpc.c optional labpc device-driver
|
1993-10-11 06:19:40 +00:00
|
|
|
i386/isa/mcd.c optional mcd device-driver
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/isa/mse.c optional mse device-driver
|
1995-01-27 07:49:19 +00:00
|
|
|
i386/isa/ncr5380.c optional nca device-driver
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/isa/npx.c optional npx device-driver
|
1994-04-21 14:13:43 +00:00
|
|
|
i386/isa/pcaudio.c optional pca device-driver
|
1995-04-09 15:50:27 +00:00
|
|
|
i386/isa/matcd/matcd.c optional matcd device-driver
|
1995-02-17 08:45:59 +00:00
|
|
|
i386/isa/pcibus.c optional pci device-driver
|
1995-10-31 18:28:55 +00:00
|
|
|
i386/isa/pcicx.c optional ze device-driver
|
|
|
|
i386/isa/pcicx.c optional zp device-driver
|
1995-02-17 08:45:59 +00:00
|
|
|
i386/isa/pcvt/pcvt_drv.c optional vt device-driver
|
|
|
|
i386/isa/pcvt/pcvt_ext.c optional vt device-driver
|
|
|
|
i386/isa/pcvt/pcvt_kbd.c optional vt device-driver
|
|
|
|
i386/isa/pcvt/pcvt_out.c optional vt device-driver
|
|
|
|
i386/isa/pcvt/pcvt_sup.c optional vt device-driver
|
|
|
|
i386/isa/pcvt/pcvt_vtf.c optional vt device-driver
|
1995-12-29 15:30:05 +00:00
|
|
|
i386/isa/prof_machdep.c optional profiling-routine
|
1993-10-26 21:24:34 +00:00
|
|
|
i386/isa/psm.c optional psm device-driver
|
1996-02-02 06:55:35 +00:00
|
|
|
i386/isa/qcam.c optional qcam device-driver
|
1996-03-02 03:48:19 +00:00
|
|
|
i386/isa/qcamio.c optional qcam device-driver
|
1995-12-26 12:50:24 +00:00
|
|
|
i386/isa/random_machdep.c standard
|
1995-03-27 19:39:58 +00:00
|
|
|
i386/isa/rc.c optional rc device-driver
|
1995-03-24 18:30:11 +00:00
|
|
|
i386/isa/scd.c optional scd device-driver
|
1994-09-11 21:09:52 +00:00
|
|
|
i386/isa/seagate.c optional sea device-driver
|
1995-08-05 21:33:04 +00:00
|
|
|
i386/isa/si.c optional si device-driver
|
|
|
|
i386/isa/si_code.c optional si device-driver
|
1993-06-12 14:58:17 +00:00
|
|
|
i386/isa/sio.c optional sio device-driver
|
1994-03-11 10:31:05 +00:00
|
|
|
i386/isa/sound/dev_table.c optional snd device-driver
|
1993-10-23 20:31:17 +00:00
|
|
|
i386/isa/sound/soundcard.c optional snd device-driver
|
1995-03-12 23:43:15 +00:00
|
|
|
i386/isa/sound/sound_switch.c optional snd device-driver
|
|
|
|
i386/isa/sound/audio.c optional snd device-driver
|
|
|
|
i386/isa/sound/dmabuf.c optional snd device-driver
|
1994-10-01 02:36:24 +00:00
|
|
|
i386/isa/sound/sys_timer.c optional snd device-driver
|
1995-03-12 23:43:15 +00:00
|
|
|
i386/isa/sound/sequencer.c optional snd device-driver
|
|
|
|
i386/isa/sound/patmgr.c optional snd device-driver
|
|
|
|
i386/isa/sound/adlib_card.c optional opl device-driver
|
|
|
|
i386/isa/sound/opl3.c optional opl device-driver
|
|
|
|
i386/isa/sound/gus_card.c optional gus device-driver
|
|
|
|
i386/isa/sound/gus_midi.c optional gus device-driver
|
|
|
|
i386/isa/sound/gus_vol.c optional gus device-driver
|
|
|
|
i386/isa/sound/gus_wave.c optional gus device-driver
|
|
|
|
i386/isa/sound/ics2101.c optional gus device-driver
|
|
|
|
i386/isa/sound/sound_timer.c optional gus device-driver
|
|
|
|
i386/isa/sound/midi_synth.c optional gus device-driver
|
|
|
|
i386/isa/sound/midibuf.c optional gus device-driver
|
|
|
|
i386/isa/sound/ad1848.c optional gusxvi device-driver
|
1995-09-01 20:53:44 +00:00
|
|
|
i386/isa/sound/ad1848.c optional gus device-driver
|
1995-03-12 23:43:15 +00:00
|
|
|
i386/isa/sound/ad1848.c optional mss device-driver
|
|
|
|
i386/isa/sound/midi_synth.c optional mss device-driver
|
|
|
|
i386/isa/sound/midibuf.c optional mss device-driver
|
|
|
|
i386/isa/sound/mpu401.c optional mpu device-driver
|
|
|
|
i386/isa/sound/midi_synth.c optional mpu device-driver
|
|
|
|
i386/isa/sound/midibuf.c optional mpu device-driver
|
|
|
|
i386/isa/sound/pas2_card.c optional pas device-driver
|
|
|
|
i386/isa/sound/pas2_midi.c optional pas device-driver
|
|
|
|
i386/isa/sound/pas2_mixer.c optional pas device-driver
|
|
|
|
i386/isa/sound/pas2_pcm.c optional pas device-driver
|
|
|
|
i386/isa/sound/midi_synth.c optional pas device-driver
|
|
|
|
i386/isa/sound/midibuf.c optional pas device-driver
|
|
|
|
i386/isa/sound/sb_card.c optional sb device-driver
|
|
|
|
i386/isa/sound/sb_dsp.c optional sb device-driver
|
|
|
|
i386/isa/sound/sb_midi.c optional sb device-driver
|
|
|
|
i386/isa/sound/sb_mixer.c optional sb device-driver
|
|
|
|
i386/isa/sound/midi_synth.c optional sb device-driver
|
|
|
|
i386/isa/sound/midibuf.c optional sb device-driver
|
|
|
|
i386/isa/sound/sb16_dsp.c optional sbxvi device-driver
|
|
|
|
i386/isa/sound/sb16_midi.c optional sbmidi device-driver
|
|
|
|
i386/isa/sound/uart6850.c optional uart device-driver
|
|
|
|
i386/isa/sound/midi_synth.c optional uart device-driver
|
|
|
|
i386/isa/sound/midibuf.c optional uart device-driver
|
1995-07-28 22:25:52 +00:00
|
|
|
i386/isa/sound/trix.c optional trix device-driver
|
|
|
|
i386/isa/sound/sscape.c optional sscape device-driver
|
1995-02-17 08:45:59 +00:00
|
|
|
i386/isa/spigot.c optional spigot device-driver
|
1995-11-18 05:34:00 +00:00
|
|
|
i386/isa/spkr.c optional speaker device-driver
|
1995-02-17 08:45:59 +00:00
|
|
|
i386/isa/syscons.c optional sc device-driver
|
1993-10-23 20:31:17 +00:00
|
|
|
i386/isa/tw.c optional tw device-driver
|
|
|
|
i386/isa/ultra14f.c optional uha device-driver
|
1995-11-18 05:34:00 +00:00
|
|
|
i386/isa/wd.c optional wdc device-driver
|
1993-10-23 20:31:17 +00:00
|
|
|
i386/isa/wd.c optional wd device-driver
|
1995-11-18 05:34:00 +00:00
|
|
|
i386/isa/atapi.c optional atapi device-driver
|
1995-08-18 11:26:35 +00:00
|
|
|
i386/isa/wcd.c optional wcd device-driver
|
1995-01-23 00:25:03 +00:00
|
|
|
i386/isa/wd7000.c optional wds device-driver
|
1993-10-23 20:31:17 +00:00
|
|
|
i386/isa/wt.c optional wt device-driver
|
1995-12-14 14:35:36 +00:00
|
|
|
i386/linux/imgact_linux.c optional linux
|
|
|
|
i386/linux/linux_dummy.c optional linux
|
|
|
|
i386/linux/linux_file.c optional linux
|
|
|
|
i386/linux/linux_ioctl.c optional linux
|
|
|
|
i386/linux/linux_ipc.c optional linux
|
1996-03-15 07:49:02 +00:00
|
|
|
i386/linux/linux_locore.s optional linux \
|
|
|
|
dependency "linux_assym.h"
|
1995-12-14 14:35:36 +00:00
|
|
|
i386/linux/linux_misc.c optional linux
|
|
|
|
i386/linux/linux_signal.c optional linux
|
|
|
|
i386/linux/linux_socket.c optional linux
|
|
|
|
i386/linux/linux_stats.c optional linux
|
|
|
|
i386/linux/linux_sysent.c optional linux
|
Mega-commit for Linux emulator update.. This has been stress tested under
netscape-2.0 for Linux running all the Java stuff. The scrollbars are now
working, at least on my machine. (whew! :-)
I'm uncomfortable with the size of this commit, but it's too
inter-dependant to easily seperate out.
The main changes:
COMPAT_LINUX is *GONE*. Most of the code has been moved out of the i386
machine dependent section into the linux emulator itself. The int 0x80
syscall code was almost identical to the lcall 7,0 code and a minor tweak
allows them to both be used with the same C code. All kernels can now
just modload the lkm and it'll DTRT without having to rebuild the kernel
first. Like IBCS2, you can statically compile it in with "options LINUX".
A pile of new syscalls implemented, including getdents(), llseek(),
readv(), writev(), msync(), personality(). The Linux-ELF libraries want
to use some of these.
linux_select() now obeys Linux semantics, ie: returns the time remaining
of the timeout value rather than leaving it the original value.
Quite a few bugs removed, including incorrect arguments being used in
syscalls.. eg: mixups between passing the sigset as an int, vs passing
it as a pointer and doing a copyin(), missing return values, unhandled
cases, SIOC* ioctls, etc.
The build for the code has changed. i386/conf/files now knows how
to build linux_genassym and generate linux_assym.h on the fly.
Supporting changes elsewhere in the kernel:
The user-mode signal trampoline has moved from the U area to immediately
below the top of the stack (below PS_STRINGS). This allows the different
binary emulations to have their own signal trampoline code (which gets rid
of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so
that the emulator can provide the exact "struct sigcontext *" argument to
the program's signal handlers.
The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which
have the same values as the re-used SA_DISABLE and SA_ONSTACK which are
intended for sigaction only. This enables the support of a SA_RESETHAND
flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal
semantics where the signal handler is reset when it's triggered.
makesyscalls.sh no longer appends the struct sysentvec on the end of the
generated init_sysent.c code. It's a lot saner to have it in a seperate
file rather than trying to update the structure inside the awk script. :-)
At exec time, the dozen bytes or so of signal trampoline code are copied
to the top of the user's stack, rather than obtaining the trampoline code
the old way by getting a clone of the parent's user area. This allows
Linux and native binaries to freely exec each other without getting
trampolines mixed up.
1996-03-02 19:38:20 +00:00
|
|
|
i386/linux/linux_sysvec.c optional linux
|
|
|
|
i386/linux/linux_util.c optional linux
|
1995-02-17 08:45:59 +00:00
|
|
|
i386/scsi/aic7xxx.c optional ahc device-driver \
|
1996-01-03 06:26:15 +00:00
|
|
|
dependency "$S/dev/aic7xxx/aic7xxx_reg.h aic7xxx_seq.h"
|
1995-12-12 08:46:40 +00:00
|
|
|
i386/scsi/bt.c optional bt device-driver
|
1996-01-15 10:28:44 +00:00
|
|
|
libkern/bcd.c standard
|
1995-12-26 13:58:31 +00:00
|
|
|
libkern/divdi3.c standard
|
|
|
|
libkern/inet_ntoa.c standard
|
|
|
|
libkern/mcount.c optional profiling-routine
|
|
|
|
libkern/moddi3.c standard
|
|
|
|
libkern/qdivrem.c standard
|
|
|
|
libkern/qsort.c standard
|
|
|
|
libkern/random.c standard
|
|
|
|
libkern/scanc.c standard
|
|
|
|
libkern/skpc.c standard
|
|
|
|
libkern/strcat.c standard
|
|
|
|
libkern/strcmp.c standard
|
|
|
|
libkern/strcpy.c standard
|
|
|
|
libkern/strlen.c standard
|
|
|
|
libkern/strncmp.c standard
|
|
|
|
libkern/strncpy.c standard
|
|
|
|
libkern/udivdi3.c standard
|
|
|
|
libkern/umoddi3.c standard
|
1994-08-30 19:01:44 +00:00
|
|
|
gnu/i386/fpemul/div_small.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/errors.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/fpu_arith.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/fpu_aux.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/fpu_entry.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/fpu_etc.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/fpu_trig.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/get_address.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/load_store.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/poly_2xm1.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/poly_atan.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/poly_div.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/poly_l2.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/poly_mul64.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/poly_sin.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/poly_tan.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/polynomial.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_add_sub.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_compare.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_constant.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_div.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_ld_str.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_mul.c optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_norm.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_round.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_u_add.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_u_div.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_u_mul.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/reg_u_sub.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/wm_shrx.s optional gpl_math_emulate
|
|
|
|
gnu/i386/fpemul/wm_sqrt.s optional gpl_math_emulate
|
1995-09-03 19:53:11 +00:00
|
|
|
gnu/i386/isa/dgb.c optional dgb device-driver
|
1995-02-17 08:45:59 +00:00
|
|
|
gnu/i386/isa/nic3008.c optional nic device-driver
|
|
|
|
gnu/i386/isa/nic3009.c optional nnic device-driver
|
1996-01-28 22:16:20 +00:00
|
|
|
pci/wd82371.c optional wd device-driver
|