oki
d27890041b
CACHE4_OFF --> CACHE40_OFF, compile again.
1996-12-09 15:29:06 +00:00
neil
36139c4647
errors not generated 'cuz old message was icmp -> [EWW!]
...
errors not generated because old message was icmp
1996-12-09 12:48:37 +00:00
fvdl
2914743038
Comment change in previous made for some bad english..
1996-12-09 11:31:11 +00:00
fvdl
46795a244d
Move '#ifdef NFSSERVER' back to the right spot; NQNFS datastructures need
...
to be initialized on both the client and the server side. Remove misleading
comment about this being just server stuff.
1996-12-09 10:46:20 +00:00
mrg
077acf5088
remove unsafe calls to strcpy(), strcat(), and sprintf(). some KNF.
1996-12-09 09:57:40 +00:00
thorpej
5dc95f5908
Garbage-collect DMAINTLVL; it's not needed any more.
1996-12-09 06:18:13 +00:00
thorpej
49471d5fd5
Sync with reality.
1996-12-09 03:56:01 +00:00
thorpej
01667974d0
isrlink() now returns a cookie. We're not interested in the cookie, so
...
cast to (void).
Call dmacomputeipl() after we've hooked up our interrupt handler.
1996-12-09 03:16:26 +00:00
thorpej
648a1b19ae
isrlink() now returns a cookie. We're not interested in the cookie, so
...
cast to (void).
1996-12-09 03:14:06 +00:00
thorpej
0d6571ba4d
Defer hooking up the DMA controller interrupt. Add a new funciton,
...
dmacomputeipl(), which is called by drivers which use DMA once they've
hooked up their interrupts. This new function computes the appropriate
ipl to use for the DMA controller and (re-)establishes it's interrupt.
1996-12-09 03:09:51 +00:00
thorpej
75a37ecc60
Print the interrupt levels for bio, net, and tty computed during
...
autoconfiguration.
1996-12-09 03:07:11 +00:00
thorpej
ce7ecde8a3
Dynamically compute the PSL value for spl{bio,net,tty,imp}() calls.
1996-12-09 03:04:46 +00:00
thorpej
c36215249a
Add EXEC_SCRIPT (I don't even want to know how I forgot it before...)
1996-12-09 01:53:30 +00:00
pk
10a182e399
Revise communication between hw & sw interrupt handler.
...
Deal with sun4m software interrupt mechanism.
1996-12-08 23:41:39 +00:00
pk
837dd8e3e1
Import formatting code from the i386 version.
...
Revise communication between hw & sw interrupt handler.
1996-12-08 23:40:32 +00:00
mycroft
6020b18019
Use warnx() and hstrerror(), rather than herror().
1996-12-08 13:59:11 +00:00
mycroft
a6a278a7bf
Fix typo.
1996-12-08 13:54:42 +00:00
mycroft
ee7207b7ef
Eliminate local variable `progname'.
1996-12-08 13:53:25 +00:00
mycroft
0d53a465b5
Use daemon() corrently.
...
Use err*(3) and warn*(3).
1996-12-08 13:44:26 +00:00
mycroft
5d4bdd4971
Use daemon() to background.
1996-12-08 13:28:21 +00:00
thorpej
73877cf0f3
Allow the default value for MAXBSIZE (== MAXPHYS) to be overridden
...
by <machine/param.h>.
1996-12-08 00:52:01 +00:00
thorpej
f6a53d4680
Sync with the i386 crt0.c
1996-12-08 00:39:42 +00:00
cgd
e9abc8540f
remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
1996-12-08 00:22:08 +00:00
cgd
74187419b6
The last change fixed a last-minute goof in the __BROKEN_INDIRECT_CONFIG
...
case, but added a typo (extra parenthesis) in the !__BROKEN_INDIRECT_CONFIG
case. fix it.
1996-12-08 00:14:03 +00:00
pk
a7bb9f2ea8
Set __ps_strings which is passed in register %g1.
1996-12-07 23:47:40 +00:00
mycroft
f7bc1cda35
Tiny optimization in __syscall.
1996-12-07 23:31:07 +00:00
mycroft
e8770b9c15
Oops; don't need sys/syscall.h.
1996-12-07 23:00:20 +00:00
cgd
6dbb1548bd
kill __BROKEN_INDIRECT_CONFIG
1996-12-07 22:43:17 +00:00
cgd
fb18e1fda9
oops; have to cast PS_STRINGS away from pointer
1996-12-07 22:36:28 +00:00
mycroft
a54c49b343
Set __ps_strings at startup. Move the argv/envp setup into a short assembler
...
prologue. General cleanup.
1996-12-07 22:34:09 +00:00
mycroft
e1af33609a
Add a __ps_strings variable here, initialized to 0.
1996-12-07 22:31:25 +00:00
cgd
6da04f404e
expect a 'struct ps_strings *' as the fourth argument to __start.
...
If it's there, i.e. doesn't have a value known to be emitted by kernels
which didn't include support for passing it (0 or 0xbabefacedeadbeef),
set __ps_strings to it. Otherwise, use the old 'normal' PS_STRINGS value
for __ps_strings.
1996-12-07 20:04:38 +00:00
cgd
0e3d6291e3
note what each of the argument registers in setregs() will be used
...
for by crt0. Actually clear a1 and a2, because unless a shared loader (i.e.
_not_ the kernel) set them when invoking crt0, they should be zero, and
the kernel DEBUG code wouldn't necessarily have them be. Pass a pointer
to the proc's ps_strings structure in a3.
1996-12-07 19:45:14 +00:00
christos
fa1d4fc6d7
PR/3002: bug in my previous commit.
1996-12-07 19:09:11 +00:00
thorpej
b5c8aff18b
In setroot(), fix mishandling of the `config netbsd root on nfs' case
...
that caused a NULL pointer dereference.
1996-12-07 19:00:46 +00:00
cjs
75d4fb207b
Add definition for internal config register.
1996-12-07 16:23:40 +00:00
fvdl
9e2e734159
Remove _MCOUNT_DECL prototype once more.
1996-12-07 12:59:45 +00:00
fvdl
8f3917c76e
Move _MCOUNT_DECL prototype back here again (grmbl).
1996-12-07 12:58:25 +00:00
pk
3127b0c5e2
Fix short malloc & memory leak in union_relookup() (per Naofumi Honda; PR#3000).
1996-12-07 11:02:47 +00:00
matthias
781cd59dd4
* Enlarge kernel virtual memory space. The pc532 kernel now runs at
...
0xf8000000. When the kernel was running at 0xfe000000, the INSTALL
kernel would not run on a 32mb machine.
1996-12-07 09:24:37 +00:00
cjs
b1e0c7d657
Print the memory size on startup.
...
Add newline to `Interface disabled' printf and clean up formatting.
Change packet read/write code to align all reads and writes into
memory to an appropriate boundary for the I/O size. This also fixes
a bug where the trailing unaligned bytes (1-3 of them) would be
put in an additional mbuf even if there was enough space for them
in the one we were currently filling.
This has been tested on a 3c905 in an Alpha (32-bit I/O, alignment
required), a 3c905 in an i386 (32-bit I/O, alignment not required)
and a 3c509 in an i386 (16-bit I/O, alignment not required). It
should be tested on a 3c509 in an Alpha with an ISA bus, if somone
can manage to get the two items together.
There are still some bugs in the driver relating to initialisation;
on my Alpha with a 3c905 you need to do an `ifconfig ep0 down;
ifconfig ep0 up' after the initial ifconfig to make it start working.
Apparently there are also some problems with a 3c579 in an i386,
although a 3c905 in an i386 works just fine.
1996-12-07 08:33:07 +00:00
jonathan
7ae23da383
Add shared-lib files: ld.so and lib*.so.*.
1996-12-07 08:01:21 +00:00
jonathan
e92aad9d20
Add elf-to-ecoff kernel conversion tool.
...
Add binutils-2.6 ld.old for linking kernels (2.7 doesn't work)
1996-12-07 08:00:05 +00:00
cgd
1a8f25c523
add a "machdep.booted_kernel" sysctl, which is the name of the booted
...
kernel as supplied by the SRM console's BOOTED_FILE variable.
1996-12-07 01:54:49 +00:00
mrg
5b9f69465f
if se_argv[0] is NULL, use se_service.
1996-12-07 00:37:00 +00:00
thorpej
8b4cab0ac8
s/EXTMEM_SIZE/BIOSEXTMEM/
1996-12-07 00:25:58 +00:00
fvdl
3e4fb99a14
Fix missing instruction in NexGen test code; make it a 386-class CPU too.
...
(Valtteri Vuorikoski / Jason).
1996-12-06 22:27:37 +00:00
pk
6b31797b23
Detect `lebuffer' parents and use the provided buffer.
1996-12-06 22:07:59 +00:00
pk
d539e60bb2
Uncomment lebuffer devices
1996-12-06 22:02:32 +00:00
pk
554078cb87
Declare lebuffer
1996-12-06 21:57:57 +00:00