Jordan K. Hubbard
e1266cedab
Submit better fix to the prompt bug.
1998-11-06 23:22:26 +00:00
Jordan K. Hubbard
f476d38a01
Make fexists/fload work with existing string literals instead. Doing
...
my own string literal handling is just too wonky.
1998-11-06 23:20:32 +00:00
Mike Smith
ed91f3baaf
USERCONFIG_BOOT -> INTRO_USERCONFIG
...
Submitted by: des
1998-11-06 20:32:22 +00:00
Jordan K. Hubbard
c6c128e122
Argh, I had this right[er] before. More commits to follow.
1998-11-06 19:17:03 +00:00
David Greenman
bd81f199b5
Added support for non-blocking sockets to sendfile(2).
1998-11-06 19:16:30 +00:00
Peter Wemm
a429d69f4a
Remove trailing ';' - use the one supplied by the caller: "VFS_SET(foo);"
1998-11-06 16:36:31 +00:00
Peter Wemm
9fe66b94a2
Make this work now; fixing the kstack overflow allows the dependency to
...
be added to the symbol search order safely.
1998-11-06 16:02:14 +00:00
Peter Wemm
578c822198
Don't use a glue file for the module; use the one in the kernel.
1998-11-06 16:01:19 +00:00
Peter Wemm
43dfe295b0
Create an 'ibcs2' module so that scripts can tell if it's statically
...
linked in or needs to be loaded.
1998-11-06 16:00:47 +00:00
Peter Wemm
caab6e909e
Don't put aggregate structs 4K large on the kernel stack, especially when
...
we can recurse when loading dependencies and that the kstack is limited
to something like 6 or 7KB. Having a single dependency caused an instant
double panic, and I stronly suspect some of the other strange "events"
that I have seen are possibly as a result of taking a couple of interrupts
with a large chunk of the stack already in use.
While here, fix a minor logic hiccup in a sanity check.
1998-11-06 15:16:07 +00:00
Peter Wemm
21ce23eb91
Define the kld_debug variable if KLD_DEBUG is enabled
1998-11-06 15:10:17 +00:00
David E. O'Brien
9e22648b54
make lnc0 definition in LINT match GENERIC
1998-11-06 09:37:38 +00:00
David E. O'Brien
9a0931701a
add AMD Am7990 & Am79C960 to description of lnc(4)
1998-11-06 09:35:32 +00:00
KATO Takenori
f3284683fb
Sync with sys/i386/i386/userconfig.c revision up to 1.115.
1998-11-06 08:08:05 +00:00
KATO Takenori
c70606fd9f
Sync with sys/i386/i386/machdep.c revision up to 1.315.
1998-11-06 08:07:32 +00:00
KATO Takenori
48ba888a6a
Sync with sys/i386/conf/options.i386 revision 1.91.
1998-11-06 08:07:00 +00:00
KATO Takenori
a0a1e229e8
Sync with sys/i386/conf/Makefile.i386 revision 1.128.
1998-11-06 08:06:32 +00:00
Jordan K. Hubbard
11adc0d65e
Use proper literal names.
1998-11-06 04:01:32 +00:00
Mike Smith
8a34f8ba88
Ack. Create parseable command tail properly, and eat args out of the TIB.
1998-11-06 03:50:44 +00:00
Mike Smith
8190a019a5
Don't not print the prompt string; not doing this has funny side-effects.
...
Make the prompt an empty string instead.
1998-11-06 03:47:08 +00:00
Mike Smith
84924924e1
Don't use the poxy vmGetString interface (who uses counted strings these
...
days?), get the input buffer ourselves. Add some debugging code.
1998-11-06 03:45:36 +00:00
Peter Wemm
f9d919e98f
put a \n on an error message printf
1998-11-06 02:18:57 +00:00
Peter Wemm
cf3e757633
If this is going to have checks for kernel versions, it might as well
...
do it so that it works. This code should run on 2.2.x now.
1998-11-06 02:13:14 +00:00
Peter Wemm
5ebfc07dce
Remove machine/cputypes.h - it's an i386 only thing
1998-11-06 01:34:06 +00:00
Robert Nordier
548bf5dd17
Make use of BIOS int 0x13 extensions configurable, and disabled
...
by default.
1998-11-05 20:52:25 +00:00
David Greenman
9dab07768f
Document the new NSFBUFS option.
1998-11-05 14:36:37 +00:00
David Greenman
dd0b2081f4
Implemented zero-copy TCP/IP extensions via sendfile(2) - send a
...
file to a stream socket. sendfile(2) is similar to implementations in
HP-UX, Linux, and other systems, but the API is more extensive and
addresses many of the complaints that the Apache Group and others have
had with those other implementations. Thanks to Marc Slemko of the
Apache Group for helping me work out the best API for this.
Anyway, this has the "net" result of speeding up sends of files over
TCP/IP sockets by about 10X (that is to say, uses 1/10th of the CPU
cycles) when compared to a traditional read/write loop.
1998-11-05 14:28:26 +00:00
Jordan K. Hubbard
82f35547c9
Remember a bit more of my forth and do:
...
o Add fexists word to check for the presence of a file
o make fexists and fload immediate words which DTRT both interpreted
and compiled (doh!)
o add an init word which gets run at bootstrapping time to do extra
post-coldload initialization (in the default implementation, we
look for /boot/boot.4th and load it if found).
1998-11-05 08:39:43 +00:00
Jordan K. Hubbard
5eb1c6c169
1. rebuild all elements of testmain properly for safety.
...
2. add fload and key prims for doing simple file and terminal I/O, respectively
1998-11-05 07:27:55 +00:00
Mike Smith
875e602afe
Explicitly invoke perl to run the softwords.pl script in case the
...
script is not executable.
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
1998-11-05 04:54:05 +00:00
Peter Wemm
ce6bd34722
Build linux_genassym static, this should help aout-to-elf builds
1998-11-05 04:39:26 +00:00
Peter Wemm
6a1a9040f4
Do not overwrite the lkm versions of the install scripts for now. linux
...
works but ibcs2 has a load failure and joy doesn't look like it'll work.
1998-11-05 04:22:52 +00:00
Peter Wemm
38266231ef
Update to use kldload, no temporary files!
1998-11-05 04:19:26 +00:00
Peter Wemm
92892ca7a5
Do not add ${KMOD} to the CLEANFILES list. We want ${PROG} which is either
...
${KMOD}.o or ${KMOD}.ko. Otherwise we can delete the source shell script
for linux, joy and ibcs2.
1998-11-05 04:01:55 +00:00
Nicolas Souchu
d3cf287966
iicbus probe and attach deferred until root_bus_configure() call.
1998-11-04 22:09:17 +00:00
Nicolas Souchu
804ec04759
Properly reset parent to get interface addr.
1998-11-04 22:07:24 +00:00
Bill Fenner
0931333f8d
Fix sbcheck() to check all packets on socket buffer.
...
Also fix data types and printf formats while I'm here.
PR: misc/8494
Panic instead of looping forever in sbflush(). If sb_mbcnt counts
more mbufs than sb_cc counts bytes, the original code can turn into an
infinite loop of removing 0 bytes from the socket buffer until it's empty.
1998-11-04 20:22:11 +00:00
Kenneth D. Merry
25e5ca272b
Generalize the quirk entry that disables multi-lun probing for Sony CDROM
...
drives. It seems that quite a few (possibly all?) of their drives respond
to inquiries on multiple luns. Hopefully we can detect problems like this
in the probe phase at some point. For now, this is a pretty functional
solution.
1998-11-04 19:56:24 +00:00
John Polstra
68d0b83d98
Fix make world breakage: "$MACHINE_ARCH" -> "${MACHINE_ARCH}".
1998-11-04 18:25:23 +00:00
Mike Smith
28cc91d8c5
Don't try to build i386-centric modules on non-i386 systems.
1998-11-04 17:15:07 +00:00
Peter Wemm
3187d896a1
Make a.out kernels kld compatable by default...
1998-11-04 15:27:41 +00:00
Peter Wemm
84e40f5627
The handle for the kernel is common. With this fix, ELF kernels can load
...
a.out kld modules, and a.out kernels can load ELF kld modules.
1998-11-04 15:20:58 +00:00
Peter Wemm
0ce10add93
Remove stray(?) debugging printf's and cngetc()'s that freeze boot several
...
times waiting for keypresses.
1998-11-04 13:37:43 +00:00
Luigi Rizzo
16c775657c
Remove an error message from sb interrupt driver -- it
...
does not apply to all situations.
1998-11-04 09:13:20 +00:00
Mike Smith
2cd5cac4ec
Improve the assertion testing for successful softword compilation.
...
The excessive use of assert() vs. robust error checking is annoying.
1998-11-04 07:07:18 +00:00
Peter Wemm
0640d357f2
Simple update to make these work as kld and preload modules.
1998-11-04 03:49:39 +00:00
Mike Smith
95bd40d634
Turn off -g accidentally left in from testing.
1998-11-04 03:42:36 +00:00
Mike Smith
4ce140ae69
Fix includes; we were still pulling in <stdlib.h> in some places.
...
Support building a standalone interpreter with 'make testmain', remove
win32 and egregious gets() in testmain.c
1998-11-04 03:42:16 +00:00
Mike Smith
66683792a4
Use a smaller default dictionary to waste less space.
1998-11-04 03:41:09 +00:00
Peter Wemm
ee9d248c5f
General tidy up: remove more unused code, update comments, simplify some
...
routines a little.
1998-11-04 03:18:10 +00:00