jonathan
9c39aaeeca
Add common SYSV* options (from i386).
...
Add "options LKM", since with ELF/ECOFF format kernels it should now work.
1999-04-26 02:20:02 +00:00
cgd
445556f304
add a section of OSF/1 types, and add many more OSF/1 structures and
...
definitions.
1999-04-26 01:24:26 +00:00
cgd
1d0207c926
const-ify flags translation tables.
...
kill some cruft, and move various flags and structure definitions into
osf1.h (not done yet).
Do a better job of translating fcntl(), and translate flags in sento()
emulation.
1999-04-26 01:23:01 +00:00
cgd
196564f8e3
remove some structs and def'ns; they're moving to osf1.h
1999-04-26 01:22:18 +00:00
cgd
637226f0ad
pull in osf1.h
1999-04-26 01:21:43 +00:00
cgd
ad10b95967
translate EAGAIN/EWOULDBLOCK properly
1999-04-26 01:16:04 +00:00
ross
f868468aaa
Never used, and work-in-progress uses a different header.
1999-04-25 20:15:06 +00:00
eeh
3f944123d6
Fix uninitialized variable bug in pmap_enter().
1999-04-25 17:23:04 +00:00
eeh
962ed777c3
Garbage collect some old stuff.
1999-04-25 16:18:46 +00:00
eeh
e921bb961d
Defer final console attach to zs_attach().
1999-04-25 16:16:31 +00:00
pk
569836a986
It is no longer necessary to protect bus_dma_[un]load() at splbio, since
...
sparc bus_dma*() functions now protect their own internals..
1999-04-25 10:40:53 +00:00
pk
421994a39b
In pmap_{zero,copy}_page4m() use setpgt4m() to setup temporary address
...
mappings.
1999-04-25 10:30:02 +00:00
hwr
fb7871d6b2
If the incoming code value is 0, timer gets 0, which would mean
...
a divide by zero afterwards.
This is also, what Bill Fenner seems to have done in the FreeBSD igmp
code.
This should fix kern/6541.
1999-04-25 10:26:29 +00:00
scw
fdd587c0ea
Define MKNOLINT=no and _STANDALONE.
1999-04-25 10:05:00 +00:00
simonb
1a2458f405
Const msize & mclbytes.
1999-04-25 04:51:53 +00:00
simonb
666e14b944
pmax kernels now compile with -Wuninitialized.
1999-04-25 04:04:53 +00:00
simonb
59df0560f4
Set the colormap index before checking it!
1999-04-25 04:04:16 +00:00
simonb
d2bd346fb8
Shut 'gcc -Wuninitialized' up (including a real case I missed with ddb
...
symbol initialisation).
1999-04-25 03:20:45 +00:00
simonb
a560bdeeec
Use the nmbclusters variable and not the NMBCLUSTERS constant when setting
...
the mclpool hardlimit.
1999-04-25 03:03:03 +00:00
simonb
6aaa1ee1b7
Shut 'gcc -Wuninitialized' up.
1999-04-25 03:02:05 +00:00
simonb
5d8b1ef3e4
g/c REAL_CLISTS.
1999-04-25 02:56:26 +00:00
simonb
8a8e8d144f
Shut 'gcc -Wuninitialized' up.
1999-04-25 02:42:01 +00:00
thorpej
4c7a2ee3b0
Fix a couple of problems in the PCscsi-PCI driver:
...
* resid in pcscp_dma_intr() should also be set in the data out phase.
* Don't set up DMA in the transfer pad operations.
* Change URL of the PDF technical manual to the index page.
* include <machine/bswap.h> on big endian machines.
Fixes timeouts writing large blocks to tapes. From Izumi Tsutsui,
PR 7252.
1999-04-25 01:20:02 +00:00
thorpej
207f873ac2
Fix an mbuf leak in the strict alignment case of packet reception.
1999-04-24 22:09:56 +00:00
eeh
df102fbcb5
Deprecate `findzs()' and try to map in the zs registers if they're not mapped
...
by the prom.
1999-04-24 21:08:12 +00:00
eeh
96b63fc788
Don't defopt COMPAT_NETBSD32 here; it's done in sys/conf/files.
1999-04-24 19:17:33 +00:00
dbj
9176bfee30
add nextkbd flag to nextcons.c so that kernel can be cleanly
...
configured without a video console
patch submitted by Matt Debergalis
1999-04-24 17:55:10 +00:00
ross
28ef22871e
Copy isdn4bsd cdevsw hooks from i386 conf.c.
1999-04-24 17:01:15 +00:00
simonb
f676307241
Include "px.h" - rcons_connect_native is only compiled in of NPX > 0.
...
Fixes PR port-pmax/7456 from Jason Thorpe.
1999-04-24 15:22:45 +00:00
simonb
b7c062102c
Oops, deleted a register_t instead of register in previous.
1999-04-24 15:04:32 +00:00
simonb
dc1d3940db
Nuke register and remove trailling white space.
1999-04-24 08:01:01 +00:00
cgd
45a020863e
substantial cleanup, including:
...
* do more flags conversions, using the table driven converter.
* check for alternate (emulation) path in lots more places.
1999-04-24 07:23:54 +00:00
cgd
ed106195ea
cleanup: kill syscall args comments
1999-04-24 07:13:23 +00:00
cgd
d081124ca2
cleanup: nuke register
1999-04-24 07:09:49 +00:00
cgd
d7c211e583
cleanup: kill syscall args comments
1999-04-24 07:06:35 +00:00
cgd
dd4d52e331
slight hdr inclusion cleanup, get ioctl-related def'ns from osf1.h
1999-04-24 06:59:11 +00:00
cgd
8b1bcd5e9c
pull in osf1.h, not osf1_errno.h
1999-04-24 06:58:26 +00:00
cgd
2fc0019c7a
Collected OSF/1 definitions and structures, sorted by OSF/1 header.
...
Error numbers (errno.h) aren't here, since they're likely to change
(additions) more often.
1999-04-24 06:56:25 +00:00
cgd
5b217baeb1
implement a simple function, emul_flags_translate() to do table-based
...
flags translation.
1999-04-24 02:56:06 +00:00
cgd
f023a00cd1
clean up multiple inclusion protection def'ns
1999-04-23 18:01:05 +00:00
cgd
1c19c07f42
clean up multiple inclusion protection def'ns and whitespace
1999-04-23 18:00:34 +00:00
mark
9a56e04261
Fix microtime() to sanely handle calls before the clocks have been
...
initialized. This is the DC21285 version of the IOMD fix for PR7357.
1999-04-23 09:09:04 +00:00
cgd
cc6809bffa
regen for 'const poisoning for strings, and minor cleanup'
1999-04-23 06:20:33 +00:00
cgd
c95f8f86c1
const poisoning for strings, and minor cleanup
1999-04-23 06:19:51 +00:00
cgd
c470144d55
use the errno mapping array
1999-04-23 06:15:35 +00:00
cgd
8ca456cbb3
add osf1_errno.c
1999-04-23 06:07:55 +00:00
cgd
f0f87c5554
finish updating this for signal changes, as was started in the
...
mis-labeled ("const poisoning"?!??!) rev 1.6.
1999-04-23 05:56:28 +00:00
cgd
f33ddea5c4
add an OSF1_CHECK_ALT_CREAT, similar to OSF1_CHECK_ALT_EXIST
1999-04-23 05:55:13 +00:00
cgd
575e9f8dfd
support emulation-specified errno mapping tables
1999-04-23 05:43:02 +00:00
cgd
4a84f3545a
OSF/1 errno definitions, and a NetBSD -> OSF/1 errno mapping table.
1999-04-23 05:37:41 +00:00
cgd
f12f795592
a quick hack to make generating errno conversion tables from our and other
...
systems' headers a bit easier. leaves much to be desired, but it's better
than nothing.
1999-04-23 05:31:33 +00:00
thorpej
83f9ab3c87
Implement asynchronous autonegotiation when driven by the MII tick
...
(one-second clock). Prevents .5s delays every 5 seconds when the interface
is up but there is no link. Fixes PR 7361.
1999-04-23 04:24:32 +00:00
thorpej
94682a459b
These are no longer used: replaced by locore_mips1.S and locore_mips3.S.
1999-04-23 00:10:15 +00:00
pk
c3f1aa0d3e
Don't send any data upstream if we're not open yet.
1999-04-22 20:37:37 +00:00
mycroft
3800206dc5
Map the Home and End keys as xterm does.
1999-04-22 20:06:02 +00:00
wrstuden
9b0e678d51
Fix compilation errors.
1999-04-22 18:48:59 +00:00
ender
e544636cde
Disable ASC interrupt enabling for now. We don't currently use it, and
...
it seems to be causing hangs at attach time on LCII's.
1999-04-22 18:00:34 +00:00
christos
cd9b06e204
Don't try to use <stdio.h> (when -DDEBUG) if we are -D_STANDALONE or -D_KERNEL
...
Now the boot blocks compile with -DDEBUG
1999-04-22 16:32:01 +00:00
minoura
43d6c498cc
I deleted a necessary line by mistake.
1999-04-22 16:22:49 +00:00
minoura
f9afee1b29
Bus error occurred on such machines without the SCSI ROM.
...
Insert badaddr() check before read the ROM.
1999-04-22 12:55:53 +00:00
drochner
ca053f4364
remove an "unmodified" so that the copyright notice will hopefully match
...
pk's "BSD-style (clauses: 2; no acknowledgements)" pattern
1999-04-22 10:27:16 +00:00
ross
a1cca18262
Implementing bus_space_barrier(9)::isa_bs_barrier() with panic(9)
...
does in fact get you a barrier, but it's unnecessarily drastic.
Fixes kern/7431 "SHARKs with a serial console and com.c 1.59.2.1 won't boot".
1999-04-22 10:12:41 +00:00
leo
098c344c9b
Make sure that we can link against the libsa.a library. It looks like a
...
gross hack, but I don't know how to fix this in another way.
1999-04-22 07:17:01 +00:00
simonb
8ce41be7b0
Move inclusion of "opt_sb_max.h" from sys/socketvar.h to
...
conf/param.c, and move the initialisation of the sb_max
variable from kern/uipc_socket2.c to conf/param.c. Now
everthing that includes sys/socketvar.h doesn't get
recompiled when SB_MAX's value changes.
1999-04-22 04:50:05 +00:00
chs
05b971dd5f
in pmap_pageable(), rather than marking a PT page as not modified
...
to trick the pagedaemon into freeing it later, just unmap the page
and free it immediately. fixes PR 7337.
1999-04-22 04:24:52 +00:00
augustss
afe636b9fa
Add some digitizer usage codes.
1999-04-22 01:57:01 +00:00
simonb
6f6573cb10
Move BOOTINFO_ADDR up to 0x8001fc00, and reduce the maximum size of a
...
bootinfo record to 1kB (we are using less than 200 bytes now) so that it
doesn't run into addition PROM memory.
At 0x8001f00 the bootinfo record was stomping on some memory used by the
SFB cards for font information.
1999-04-22 01:52:54 +00:00
simonb
be3adbebcc
Don't extern sb_max, <sys/socketvar.h> provides a definition.
1999-04-22 01:32:30 +00:00
ad
6ee9a851df
Let `mapchar' in operations set decide if characters (c > 127) are printable.
1999-04-22 00:46:36 +00:00
ad
a895fbfd58
Define rcons_connect() only if (NFB > 0). Define rcons_connect_native() only
...
if (NPX > 0). Needed for fixed `rasops' config glue.
1999-04-22 00:33:30 +00:00
ad
ca39efe84c
Remove misplaced comment.
1999-04-22 00:29:59 +00:00
fvdl
3fb6f009a4
Handle instruction prefixes (skip them, in our case).
1999-04-22 00:23:33 +00:00
thorpej
81eb5b98aa
Add a couple of missing splbio()/splx() pairs that caused pool corruption.
1999-04-21 22:14:15 +00:00
augustss
1fcbe7ae13
Use the right buffer in immediate mode.
1999-04-21 19:02:26 +00:00
abs
609ddc8c40
Remove spurious call to de_bn2cn(). A "cluster" in MSDOSFS is already
...
equivalent to a "block" is in FFS. Fixes vnds on MSDOSFS, and should
eliminate a 'getblk: block size invariant failed' panic.
Directly from PR7380 <elric@imrryr.org>.
1999-04-21 17:13:22 +00:00
simonb
25715bb0f2
Comment out 'config nfsnetbsd'.
1999-04-21 12:53:56 +00:00
scottr
136972df3a
Actually, the last change solved a different but related problem than
...
the one mentioned in PR 7376. By clearing the display in iteon()
instead, we can kill both birds with the same stone.
1999-04-21 06:00:07 +00:00
scottr
48ff49fee0
When attaching the ite console, clear the entire display rather than assuming
...
that the emulator will do it for us. (The emulator will only clear
full character-sized rows.) Incidentally fixes PR 7376.
1999-04-21 05:18:17 +00:00
mrg
48c12bfeed
revert previous. oops.
1999-04-21 02:37:07 +00:00
mrg
58540a2274
properly test the msgsz as "msgsz - len". from PR#7386
1999-04-21 02:31:49 +00:00
simonb
24323d7ef4
In cpu_startup():
...
+ Initialise minaddr to the start of the file I/O buffers.
+ Check for overallocation of RAM for these buffers.
+ Change function name in panic message to match reality.
Code taken from almost every other port, and fixes the:
uvm_km_suballoc: unable to allocate space in parent map
panic that some people have been experiencing.
1999-04-21 02:03:24 +00:00
thorpej
dc63f8c31a
Fix a problem where SOFTWARE_SSTEP would skip one instruction each time
...
on the Alpha.
1999-04-21 00:00:06 +00:00
cgd
227295dad5
set lflag when printing pointers with %p
1999-04-20 23:04:17 +00:00
jonathan
cc3feba3f5
Don't attach an 3bc509B as ep? at isa if the EEPROM is set to to PnP mode.
...
See PR# port-i386/7428
1999-04-20 22:07:37 +00:00
ross
be000bc016
Revert 1/2 of previous change. INSECURE is still OK for alpha.
1999-04-20 21:43:03 +00:00
thorpej
f7b0fea081
After reviewing the Green Book, BPT traps do indeed leave the PC pointing
...
to the instruction _after_ the `call_pal bpt' instruction.
1999-04-20 21:30:15 +00:00
thorpej
375b3fa699
Prototype alpha_debug(), and add some definitions for KGDB.
1999-04-20 21:23:56 +00:00
thorpej
62d09f4f93
Move the inclusion of <machine/bus.h> to within a _KERNEL section.
1999-04-20 21:23:09 +00:00
thorpej
869951571d
- Clean up ddb_trap() somewhat, and handle exceptions that happen while we're
...
in DDB (e.g. if a bad pointer was dereferenced; the debugger will recover).
- Change a comment to indicate that we are on the debugger stack when we get
to ddb_trap().
- Fix possible buglet in computation of the branch target in db_branch_taken().
1999-04-20 21:19:48 +00:00
thorpej
701edb8db8
- Revert previous, and do debugger entry if kernel BUGCHK or BPT traps
...
happen. If the debugger doesn't handle the trap, arrange things so the
debugger won't be called again before we panic.
- Before panic'ing, give the debugger a chance to field the trap, and
if the debugger has handled things, allow the kernel to continue running,
like the i386 port does.
1999-04-20 21:16:59 +00:00
thorpej
a12dedc3ea
- Revert previous change to XentIF(), now that we're going to enter the
...
debugger differently.
- Pull in debugger glue if DDB is configured.
And one unrelated change, while I was here: Don't create a fake trapframe
for main(); it hasn't been used by main() for quite some time, and panic
if main() returns, because that's not supposed to happen now.
1999-04-20 21:11:59 +00:00
thorpej
1b2eac076f
Add a common debugger entry point, alpha_debug(), which performs various
...
tasks (i.e. switches to the debug stack) and then invokes the appropriate
debugger (DDB or eventually KGDB).
1999-04-20 21:09:49 +00:00
thorpej
9d78593b30
Back out previous; we're going to dispatch to the debugger differently.
1999-04-20 21:08:23 +00:00
pk
52db3a158e
Correct QESTAT `%b' format string.
1999-04-20 20:24:39 +00:00
pk
d93e27676e
Remove splbio()/splserial(), which should not try to protect bus_dma*(9)
...
internals.
1999-04-20 20:21:04 +00:00
pk
901a03b897
Protect extent(9) ops with splhigh().
1999-04-20 20:15:48 +00:00
mark
7c3542d098
Add the rnd pseudo device.
1999-04-20 09:30:08 +00:00
mark
902004cefc
Don't try and calculate the time in microtime() unless cpu_initclocks()
...
has already been called and thus we know the values the timers are using.
This also ensures that clock_sc will always be valid when we try and use
it to read the timer registers.
Fixes PR7357.
1999-04-20 09:14:32 +00:00
mrg
713d4e0462
KNF nits.
1999-04-20 06:48:58 +00:00
mrg
ad52a7fe49
make this compile again with no rcons.
1999-04-20 06:42:54 +00:00
ross
702267a538
options INSECURE, like i386
...
pckbc* -> pckbc0, like i386
1999-04-20 06:16:35 +00:00
simonb
dc3b870fce
Add NFS_BOOT_DHCP so that netboot kernels can find the root filesystem.
1999-04-20 05:56:52 +00:00
simonb
1065cb27a3
s/NFS_BOOT_BOOTP/NFS_BOOT_DHCP/
...
DHCP is a superset of BOOTP, and still works with BOOTP servers.
1999-04-20 05:54:44 +00:00
is
bbeb5012d5
Add dummy bus_space_barrier method, like mac68k
1999-04-20 05:48:37 +00:00
jonathan
055b827e11
Calling DELAY() during polling for command completion of the normal
...
per-packet discard of every received packet increases latency and
decrease throughput. INstead, Spin on S_COMMAND_IN_PROGESS for enough
iterations as the expected time to completion. Only do DELAY()/poll
loops (as suggested by Jason Thorpe) if spinning fails.
Take PCI as fastest case and compute worst-case estimate.
Shorten DELAY() in S_COMMAND_COMPLETE polling-loop up 10, loop-count
down. to speed up epreset() completion (m/c filter change, ifup/ipdown, etc).
1999-04-20 04:40:24 +00:00
simonb
955a0aba21
Until <bsd.lib.mk> is fixed, don't try to guess whether or not to
...
use abicalls in kernel source.
1999-04-20 00:45:24 +00:00
jonathan
07c7535688
* Make doubly sure that the ep shutdownhooks are run at splnet() or above.
...
* Clear the `enabled' bit in the softc so late hardware interrupts
(e.g., just after the full reset) done as part of shutdown) are dropped.
* Eliminate loops that poll forever on S_COMMAND_IN_PROGRESS to complete.
Add inline function with bounded loopcount plus small delay, to avoid
bugs in EISA hardware which never sets S_COMMAND_IN_PROGRESS.
Use for both TX_RESET/RX_RESET/GLOBAL_RESET cmds, and polling for
discard-Rx completion
1999-04-19 23:26:48 +00:00
thorpej
f30375cda0
Dispatch to the debugger from the Intruction Fault trap vector directly,
...
rather than doing it from trap(). This so we can switch to a temporary
stack for the debugger (in a forthcoming commit).
1999-04-19 23:24:14 +00:00
thorpej
d24359e5c8
Define BPT and BUGCHK Intruction Fault codes.
1999-04-19 23:22:19 +00:00
kleink
ed74932033
Add COMPAT_SVR4 for m68k.
1999-04-19 21:22:56 +00:00
kleink
36e329cd5b
Define FP as a synonym for A6.
1999-04-19 21:19:08 +00:00
kleink
6a9c669828
Move linux_reenter_syscall() to a common location and rename it to
...
reenter_syscall() - it's going to be shared with COMPAT_SVR4 and soon be
used by native code.
1999-04-19 20:58:37 +00:00
ross
4b0326d939
Get rid of delay() in com_common_putc() because the Shark delay() is borked
...
and can't be called until after the timers are setup. (It should not use
a timer, or it should have a fallback algorithm.)
1999-04-19 19:27:31 +00:00
scw
cc712cde63
Make the memory sizing code *really* work on mvme167.
1999-04-19 19:15:50 +00:00
mycroft
0e603b27d7
+LFS +MFS
1999-04-19 16:57:06 +00:00
ragge
d9010c853c
Don't try to init the L2 cache if there is no L2 cache. (KA640)
1999-04-19 14:50:57 +00:00
chs
69ead14e9b
in uvm_map_extract(), handle the case where the map entry being extracted
...
is large enough to cause the end address of the new entry to overflow.
1999-04-19 14:43:46 +00:00
thorpej
552465011e
Revert revision 1.159. The correct answer was not to re-break the
...
serial console support, but rather to fix the Shark delay().
1999-04-18 22:02:47 +00:00
minoura
35d1114201
Add missing par0.
1999-04-18 15:43:21 +00:00
minoura
26b74e1082
Handle T_ILLINST in kernel mode.
...
This occurs in fpu_probe() when the FPU is not installed on the system.
Because of this, FPU_EMULATE wouldn't work at all.
1999-04-18 14:39:10 +00:00
minoura
4fcf23e9b0
Handle F line emulation correctly when FPU_EMULATE is enabled.
1999-04-18 14:37:09 +00:00
ad
fe72ae262f
Rebuilt from 'isapnpdevs'.
1999-04-18 13:21:01 +00:00
mrg
a3b0c3845d
fix some comments.
1999-04-18 10:54:23 +00:00
mrg
8b70f01b60
use LINKFLAGS=-X to avoid stripping out per-file debugging info (idea from chuck@netbsd.org)
1999-04-18 10:52:31 +00:00
minoura
8eb1fd77e9
Do not memcpy to the bouncebuffer in datain.
1999-04-18 00:38:58 +00:00
minoura
aae9b1588b
Typo fix.
1999-04-18 00:36:36 +00:00
ad
690bd69d3e
Add Diamond Supra 336i to device list.
1999-04-18 00:35:30 +00:00
kleink
ea8f9b570f
Inclusions are already relative to the root of the kernel source tree, no need
...
to traverse the path all the way up again.
1999-04-17 21:26:59 +00:00
ws
5423093850
Modify syncicache on PowerPC from an inline to a real function.
...
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
1999-04-17 21:16:45 +00:00
kleink
17f5893b79
Indentiation oversight in previous.
1999-04-17 21:00:09 +00:00
kleink
9dc5fdfdf0
s/ushort/unsigned short/ as the former isn't available in an _XOPEN_SOURCE
...
environment. XXX should change the interface to use uid_t/gid_t/mode_t
1999-04-17 20:55:45 +00:00
chs
b3d919281a
update one last call to uvm_pagealloc().
1999-04-17 20:03:39 +00:00
mhitch
70d16931bd
Correct the way I was using the transfer length for ATAPI commands. ATAPI ZIP
...
drives are now usable.
1999-04-17 19:49:24 +00:00
is
3faf133984
Cut-down kernel for miniroot installation.
...
Leave everything out that isn't needed.
1999-04-17 19:05:19 +00:00
mhitch
46f5ce02e0
Do a REQUEST SENSE when ATAPI operation returns an error. This is needed to clear
...
the Unit Attention status, i.e. after a media change on a CDROM.
1999-04-17 17:08:12 +00:00
ragge
d80adac6a7
Only allocate QDSS memory if there is a QDSS as console.
...
QDSS should also work on KA650 now. (untested)
1999-04-17 17:02:49 +00:00
drochner
2519327c42
oops - forgot half of it
1999-04-17 16:52:06 +00:00
drochner
9684e9a613
disable the "aria" sound board per default until the problems with its
...
"probe" functions are solved (gives false positives)
1999-04-17 16:50:26 +00:00
drochner
7694cc18a5
wsconsio.h is gone
1999-04-17 13:00:04 +00:00
simonb
cbd32a724f
Sync with rev 1.9 of sys/arch/i386/stand/lib/loadfile.c:
...
another nit in error handling: don't try to print out a NULL
filename (which means "use default" and is dealt with properly
by open())
1999-04-17 11:24:16 +00:00
drochner
982c55e22c
another nit in error handling: don't try to print out a NULL filename
...
(which means "use default" and is dealt with properly by open())
1999-04-17 11:18:36 +00:00
ragge
e9689cc9bd
Use "access_type" in pmap_enter() more intelligent.
...
Allocate device register space bigger than the logical page size
from the kernel map, thus decreasing the pre-allocated page table memory.
1999-04-17 00:01:18 +00:00
abs
c28fffe947
Fix enet_vendor entries for Compex Linkport Enet B (PR 7238)
1999-04-16 22:35:49 +00:00
thorpej
e49833cd68
Now that we have direct-mapped pool pages, we can garbage-collect VM_MBUF_SIZE
...
and don't need to allocate mb_map.
1999-04-16 21:47:11 +00:00
thorpej
4b603c180a
Use the same hack as pmap_zero_page() and pmap_copy_page() to provide
...
direct-mapped pool pages.
1999-04-16 21:45:19 +00:00
thorpej
3b29e1e158
Clean up the Rawhide interrupt code some more:
...
- Actually display the kn300 irq, not the MCPCIA irq, in the interrupt
string. Also, don't bother displaying device/pin on strays, since
it doesn't play will with shared interrupts that would happen due to
a PCI-PCI bridge.
- Shave a few more cycles out of the interrupt dispatch routine.
1999-04-16 21:29:47 +00:00
thorpej
48a53c250d
Add a stub pciide_machdep_compat_intr_establish() for Power Macintosh.
...
Power Macintoshes with PCI IDE (e.g. the new Blue G3) don't have them
wired to compatibility mode, so just return a NULL cookie. We still have
to have this routine for the PCI IDE driver to link.
1999-04-16 21:15:29 +00:00
perseant
4427f80b15
Other half of the ufs_hashlock locking fix (oops)
1999-04-16 16:23:46 +00:00
pk
cd6eaa20b1
Print register contents before we modify it.
1999-04-16 13:35:41 +00:00
kleink
5e7ff129c8
Normalize path of files.sunos.
1999-04-16 11:13:38 +00:00
pk
0a737db1c7
oldmon' proms need
putstr()' too.
1999-04-16 08:55:37 +00:00
ross
74de38f9a9
Really say goodbye to old wscons.
1999-04-16 07:24:13 +00:00
mhitch
bb2b8c8586
Change reading the ATAPI IDENTIFY data: a ZIP drive responds differently than my CDROM
...
and will cause the drive to hang on boot. The ZIP drive still does not work, but the
system no longer will hang,
1999-04-16 03:29:49 +00:00
thorpej
d38cab08e5
Add SGMAP stuff for Window 2, and rename Window 0's SGMAP stuff to indicate
...
its use.
1999-04-16 02:18:07 +00:00
explorer
6f9b6a2f1a
remove BUFPAGES= line for now (commented out)
1999-04-16 01:11:22 +00:00
explorer
927ebf9949
sync to the currently installed kernel
1999-04-16 01:09:25 +00:00
perseant
2d12a2d41d
Fix locking panic on ufs_hashlock
1999-04-16 00:41:58 +00:00
mjl
6224c1beda
Correct wrong board IDs (used ID definition from FreeBSD)
1999-04-15 23:51:44 +00:00
thorpej
1ddebc8444
Fix a silly bug present since rev 1.1; the direct-mapped window is
...
supposed to be Window 1, but a cut'n'paste error made it stomp over
Window 0, thus breaking ISA DMA. Fix this. (Confirmed to work with
floppy driver.)
While I'm here, do something I've been meaning to do for a while: change
Window 1 from a 1G at 2G to a 2G at 2G direct-mapped window, and add
a Window 2 of 1G at 1G SGMAP-mapped. Chain Window 2 to Window 1, and
use it as a fall-back for PCI DMA if the system has more than 2G of RAM.
1999-04-15 23:47:52 +00:00
thorpej
31c4e50d3a
- Change the "savunit[]" and "savirqs[]" arrays to ints, rather than chars.
...
The access is more efficient this way (and this was done in the interrupt
dispatch code, so some cycles are actually shaved), and gcc gets annoyed
when chars are used as array subscripts.
- Adjust for the fixed Rawhide console initialization.
- When mapping a PCI interrupt, don't always map device 1 to IRQ 16. Device
1 is only the internal 53c810 on MID 5, and is an invalid device number
on any other MID.
- Adjust for change mcpcia_config/mcpcia_softc structures.
- Nuke the kludgy linked list of mcpcia_softc structures. Instead, just
use savunit[v] to index into mcpcia_cd.cd_devs[] to find the MCPCIA
which has the stray interrupt.
- Some other minor cosmetic cleanup.
1999-04-15 22:37:25 +00:00
thorpej
592cdd4bda
Adjust for new register access arguments, and make one slight cosmetic
...
change.
1999-04-15 22:32:21 +00:00
thorpej
f2368c1301
CHIP_EX_MALLOC_SAFE() now must pay attention in class.
1999-04-15 22:31:16 +00:00
thorpej
279f30928f
Add support for a single statically-allocated MCPCIA configuration structure,
...
which holds state of the MCPCIA to which the console is attached.
- All MCPCIA info is now stored in the mcpcia_config structure; the
mcpcia_softc only contains a struct device and a pointer to one of these.
- If attaching the console MCPCIA, use the static configuration, else allocate
the substructure.
- Rename mcpcia_init() to mcpcia_init0(), and make it take a "mallocsafe"
argument.
- Implement a new mcpcia_init(), which looks for the MCPCIA which has the
EISA bridge attached. Initialize this MCPCIA as the console MCPCIA (the
console on the Rawhide is only allowed on this MCPCIA; firmware rule).
- Eliminate the kludgy linked listed of mcpcia_softcs. Just use mcpcia_cd
to find all configured instances.
Separate bug fix: Actually clear the MCPCIA error mask after probing for
PCI (and ISA) devices, don't just clear it twice in mcpcia_init0().
Some other slight cleanup.
1999-04-15 22:27:40 +00:00
thorpej
9af474a62c
- Add a comment explaining why we probe for MCPCIAs in the shuffled
...
MID order.
- Export the shuffled MID order; other files now need it.
- Don't derive the GID from the unit number of the mcbus. A user could
render his kernel non-bootable by using a different unit number in the
kernel config file. We (and the hardware) only support one MCBUS, so
simply use instance 0. Note that this will need to be adjusted if there
are even any multiple-MCBUS systems.
1999-04-15 22:19:52 +00:00
thorpej
9a4a0a3c81
DEC_KN300 no longer uses PROM console.
1999-04-15 22:15:38 +00:00
thorpej
1287bb8599
Always call the platform's cons_init routine (note, it may not do anything,
...
but it's a very handy place to put console-related debugging code in,
even if we're still using the PROM console).
1999-04-15 22:15:05 +00:00
thorpej
f3314e93e8
Add an empty dec_kn8ae_cons_init().
1999-04-15 22:13:41 +00:00
thorpej
02aa04c89e
Massive cleanup of the AlphaServer 4100 console initialization code.
...
Instead of using the PROM console until autoconfiguration is complete (at
which time we called dec_kn300_cons_init() directly!), make this work like
basically all of the other systems which have PCI attached consoles. That
is, initialize the PCI chipset which holds the console early, and perform
console initialization at the correct time.
This should make both PCI and ISA display consoles with PC keyboards work
(i.e. the deskside workstation version of the Rawhide).
1999-04-15 22:11:57 +00:00
thorpej
0df038ccb1
- Use the CTB_TURBOSLOT_* macros from rpb.h.
...
- Don't assume bus/slot == ISA display. Instead, test for TYPE_ISA.
- Some cosmetic (whitespace, mostly) cleanup.
1999-04-15 22:06:47 +00:00
thorpej
f03f59a5b8
Back out the change to swap Lev1map on MP systems that use the PROM console.
...
Basically, we have to completely nuke the _PMAP_USES_PROM_CONSOLE code from
orbit before MP is going to properly work.
1999-04-15 21:21:25 +00:00
bouyer
b5f3e628a3
If setting to pio mode < 3 fails, try to set pio mode 3 before returning
...
EIO. The spec says ATAPI devices should support "PIO 3 or better".
They are supposed to support less as well. Setting the device to a highter
mode than the controller shoul'nt be a problem, and this is likely what
happens with legaty ISA controllers.
Solve problem reported by Ruey-Shyang Guo.
1999-04-15 16:21:27 +00:00
ad
d79296c5e9
Disable ntohl/htonl due to duplication in libkern/arch/mips.
1999-04-15 15:30:46 +00:00
bouyer
94d00cdb29
Bump timeout to 10s only for ATAPI devices, 1s is fine for IDE drives once
...
they are ready.
1999-04-15 09:41:09 +00:00
leo
84169631c6
Fix the IPL comparison. The previous version was plain wrong and caused
...
random panics in the pool allocator.
1999-04-15 09:15:29 +00:00
simonb
3395bf67b0
For the "update-sources" target, don't copy any src/lib/libz sources
...
that differ only in the first line (the NetBSD RCS header).
1999-04-15 02:28:36 +00:00
simonb
351120e29a
Add uncompr.c to LIBZSRCS and zalloc.c to SRCS.
1999-04-15 00:52:58 +00:00
simonb
077cae2629
A simple implementation of zcalloc and zcfree in terms of the libsa
...
alloc and free.
1999-04-15 00:50:39 +00:00
simonb
fe27047537
Add source file, copied from lib/libz/uncompr.c.
1999-04-15 00:48:03 +00:00
thorpej
e8e6061642
Slight braino in previous.
1999-04-14 23:55:35 +00:00
ragge
71a57b22eb
Use the pool allocator for mbufs instead of a separate submap.
1999-04-14 23:42:00 +00:00
thorpej
25a0e78bf3
Add macros to decode the `turboslot' member of the Console Terminal Block.
1999-04-14 23:28:31 +00:00
ragge
797a7428d6
First towards use of bus.h routines on vax. Allocate DMA memory for
...
LANCE chip on vaxstations.
1999-04-14 23:14:45 +00:00
ad
c0735a01c5
Replace qvss8x15 with version from NetBSD/vax, which contains the full ISO
...
character set.
1999-04-14 23:06:26 +00:00
jonathan
380d12dfbd
Complete bugfix in rev 1.3: increase read-parameter-block timeout to 10s
...
(as used for the hardware for which rev 1.3 was made.)
1999-04-14 22:23:15 +00:00
perseant
40458c9d34
Fix lost lock in lfs_markv -- a typo-class bug, obvious when you look at it.
1999-04-14 19:37:28 +00:00
ad
9603b90966
Add missing RCONS_2BPP and RCONS_16BPP options for compatibility with code
...
that has not yet changed over to 'rasops'.
1999-04-14 18:43:24 +00:00
ad
619320f97d
Remove courier11x18 due to licensing concerns. Fixup license on lucida16x29.
1999-04-14 18:25:47 +00:00
chopps
0f274aa73e
don't check for ether_output, instead use if_type == IFT_ETHER
...
while we are here add IFT_FDDI support
1999-04-14 16:26:42 +00:00
ragge
397795c32d
Machines using KA48 must have memory mapped in, and use the same
...
addresses for console as KA46. From Michael Kukat.
1999-04-14 16:19:03 +00:00
christos
d15d073dcf
add getopt prototype, and externs
1999-04-14 15:23:27 +00:00
christos
30ffed2123
remove bogus prototype for getopt
1999-04-14 15:22:46 +00:00
christos
c70b4ad2a1
Add prototype for getsecs
1999-04-14 15:22:07 +00:00
minoura
bb2c24d761
More size hacks. We can now run the installer on 4MB machines.
1999-04-14 14:13:11 +00:00
drochner
1ecbaaabf8
this is now sys/lib/libsa/ufs_ls.c
1999-04-14 13:31:49 +00:00
hpeyerl
6cde76c6fe
fix some copyright foo.
1999-04-14 12:56:33 +00:00
drochner
e4841b3edf
add prototypes, use ufs_ls() from mi libsa,
...
compile with -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
1999-04-14 11:53:43 +00:00
drochner
312eae2bf4
add prototypes, use ufs_ls() from mi libsa, revert to "void main()",
...
compile with -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main
1999-04-14 11:45:39 +00:00
drochner
b7c510645f
move "ls" utility from i386/stand/libsa here
1999-04-14 11:32:50 +00:00
drochner
dd0ed4267b
add prototype
1999-04-14 11:19:23 +00:00
drochner
2d1e6a1f5a
add prototypes, slight formatting changes
1999-04-14 11:17:04 +00:00
drochner
ffd8d7c6d0
add prototypes
...
being here, format ala KNF
1999-04-14 10:57:59 +00:00
pk
87a17d4466
Initialize the VME bus tag.
1999-04-14 10:28:23 +00:00
pk
ee5af6c31e
Mask out 64-bit burst capability on sun4m's, since some models (SS20)
...
erroneously report this in their sbus properties.
1999-04-14 09:50:01 +00:00
pk
08e6e1fdc0
Fix TAB-jump lossage in previous.
1999-04-14 09:48:37 +00:00
pk
37653920ec
- try to identify multi-processor machines only on sun4m.
...
- mainbus_attach: on sun4's do not fall through to sun4c/sun4m configuration.
1999-04-14 09:16:11 +00:00
pk
570630211c
PROM likes to see CR-NL.
1999-04-14 09:12:46 +00:00
jonathan
af729a150c
initialize 'p' for lame gcc-2.7.2.2 flow analysis.
1999-04-14 03:26:34 +00:00
mrg
7007bb40d6
fix errors in the copyright on this.
1999-04-14 02:50:38 +00:00
jonathan
0028097812
Fix ex_read_eeprom() for 3c57x.
1999-04-13 23:07:25 +00:00
jonathan
979a80207e
Fix duplicate "3com" from attach, as noted in PR#7607.
1999-04-13 22:34:05 +00:00
augustss
4084111fca
Make copyrights conform.
1999-04-13 20:37:21 +00:00
augustss
1ea49a1848
Make copyright conform.
1999-04-13 20:31:32 +00:00
jonathan
2bf9a70e67
Endian-ness bugfix for elink3 on big-endian hosts.
...
Big-endian CPUs should use bus_space_{read,write}_multi_stream methods
to PIO packet data to NIC in 16-bit or 32-bit chunks.
Make it so.
Since we don't have stream methods on all ports yet (esp. i386), use
the bus_space_{read,write}_multi methods if the compile-time
stream-method feature-test macro is not set.
Originally from tsubai@netbsd.org , via HAYAKAWA koichi's cardbus patches.
1999-04-13 20:23:52 +00:00
ad
1c9990c901
Removed pending write of fully-functional MI driver.
1999-04-13 19:06:54 +00:00
ad
ce7a13c654
Remove px driver pending write of fully-functional MI driver.
1999-04-13 19:06:53 +00:00
ad
33df642800
Leave font selection to 'rasops' until 'rasops1' has been completed and can
...
handle non {8,16} pixel wide fonts.
1999-04-13 19:02:38 +00:00
drochner
2269d36c97
make libkern compile in userland - for testing purposes
1999-04-13 19:00:30 +00:00
ad
d959cff2ca
Fonts for rcons are now handled in sys/dev/wsfont.
1999-04-13 18:59:15 +00:00
ad
0993fa2727
Add configuration glue needed by rasops, wsfont, rcons and the px driver.
1999-04-13 18:53:27 +00:00
ad
cf19d10b2a
Added console initalization glue to allow `px' device to function as the
...
console.
1999-04-13 18:50:51 +00:00
ad
5140c302ce
Bring sparc/sparc64 fb code and kernel configuration into line with
...
rcons changes.
1999-04-13 18:45:40 +00:00
ad
8fe6730f9a
Many enchancements to rcons to support ANSI color and all attributes
...
properly. All output now performed using a 'struct wsdisplay_emulops'.
1999-04-13 18:43:17 +00:00
ad
a9ef1be75b
iso8x16 font removed until such time as licensing can be clarified.
1999-04-13 18:34:13 +00:00
kleink
a3417847c3
* Declaration mismatch: len is a size_t, not a pointer to one.
...
* Userlevel header: remove argument names from declaration, use
__{BEGIN,END}_DECLS to ensure correct linkage.
1999-04-13 16:52:37 +00:00
ad
8cd2881c35
Save colormap when fb device is opened, and restore upon close. Do not
...
fbconnect() 'pm' device again at attach time if it is the console.
1999-04-13 03:22:00 +00:00
ad
46dcc25b4a
Map keypad 'Enter' to 'Return' for console operation. Change error messages
...
in MouseInit() to allow gcc to fold the strings.
1999-04-13 03:19:28 +00:00
ad
7940da64de
Define PMAX_FBTYPE_PX. Changes to allow fbvar.h to be included with
...
dev/rcons/rcons.h.
1999-04-13 03:14:03 +00:00
ad
d8a02e8017
Code cleanup. Add ri_bswap member to 'struct rasops_info' to indicate that
...
framebuffer endianness differs from CPU (for 15,16,32-bit displays).
1999-04-13 03:02:40 +00:00
ad
de43e7cc8d
Fixed licensing due to a foobar on my behalf.
1999-04-13 00:40:07 +00:00
ad
b30fc08f22
Initial import of `PX' driver.
1999-04-13 00:30:08 +00:00
ad
7db08b6507
Initial import of wsfont, an in-kernel font table for wscons/rcons.
1999-04-13 00:24:05 +00:00
ad
14d2ed835e
Initial import of 'rasops', the new raster operations set for wscons/rcons.
1999-04-13 00:17:57 +00:00
jonathan
9e87738e9d
Add entries for TI, Ricoh, Toshiba PCI-to-cardbus bridge chips, so
...
we can identify them as cardbus chips supported by the cardbus patches.
Add entry for OPTI chipsets whose interrupts arent properly set up by
some BIOSes.
From cardbus patches<ftp://nandra.iri.co.jp/pub/NetBSD/CardBus by
HAYAKAWA Koichi <haya@tcad.ulsi.sony.co.jp>.
1999-04-12 23:18:16 +00:00
pk
b16b8de052
Identify ourselves as a SCSI channel to the DMA chip.
1999-04-12 23:01:00 +00:00
pk
ca0b7aaa87
Ungarble the copyright notice.
1999-04-12 20:57:52 +00:00
pk
b13e5d1469
Quote "AS IS" as in the majority of Carnegy Mellon notices.
1999-04-12 20:38:17 +00:00
oster
4882ae464f
Fix a couple of compiler warnings on the Alpha. Pointed out by Tim Rightnour.
1999-04-12 19:39:59 +00:00
mjl
4622761326
Enable workaround for isapnp assigning already used interrupts to pnp
...
cards by masking them out with a "options ISAPNP_ALLOC_INTR_MASK=..."
in kernel config.
1999-04-12 19:31:27 +00:00
drochner
3b45055cd1
adapt to uvm_pagealloc() changes - use UVM_PGA_USERESERVE to allocate
...
page table pages
1999-04-12 17:59:29 +00:00
drochner
b6ab6f5dc1
This was an n_long, not u_long, so u_int32_t is correct.
1999-04-12 17:23:23 +00:00
minoura
c12f6d6d4b
Reduce the kernel size.
...
- Disable many options and devices which is not required to install.
- Decrease the MINIROOTSIZE to fit with the actual embedded image.
1999-04-12 16:11:53 +00:00
simonb
b84e038e4b
Bump version number to 1.1 for default kernel names.
1999-04-12 05:46:57 +00:00
simonb
71c3fc3251
If only a device name is specified with no kernel name, try to load a
...
kernel from a default list of names. This list is netbsd, netbsd.bak,
netbsd.old, onetbsd and gennetbsd - all without and with a .gz
extension.
1999-04-12 05:19:25 +00:00
simonb
ab3de4de0e
Make the bootpath "N/rzY" with no trailing '/' valid by adding the extra
...
'/' before appending 'boot' to the path.
1999-04-12 05:14:51 +00:00
cjs
ecab881e98
PR 6852 from Chris Jones <cjones@hideo.nervana.montana.edu>.
...
This handles the interrupt structure of Compex boards.
1999-04-12 04:31:55 +00:00
simonb
520c13bcc8
Fix an off-by-32 error - space was padded out to the 96th byte for the
...
DEC disk boot block header, but it's only 64 bytes long. Gives us
another 32 bytes in the first stage.
Don't use a roll-your-own START_FRAME size and offsets for the stack
and ra - use the <mips/asm.h> provided CALLFRAME_SIZ, CALLFRAME_RA and
CALLFRAME_SP
1999-04-12 03:53:13 +00:00
gwr
748b14525c
Fix unused variable warning
1999-04-12 01:30:22 +00:00
ross
4634c0e3d4
libkern just got an inet_addr(), but it won't compile, no prototype. Cleanup...
...
* Add prototype to libkern.h.
* Remove the almost-identical-copy from libsa/net.[ch].
* Change its type back to the (wrong, but harmless) historical one. (u_long)
* Kill the XXX local prototype in nfs_bootparam.c
1999-04-12 01:05:01 +00:00
perseant
40cebde457
Check the superblock version field, and refuse to mount the filesystem
...
if the version number is higher than we know about. This allows, e.g.,
changes in the format of the ifile, segment size restrictions and boundaries,
etc., which would not affect existing fields in the superblock, but which
would drastically affect the filesystem, to be smoothly integrated at a
later date.
1999-04-12 00:47:17 +00:00
perseant
65ba757424
Improve the debugging printfs in the cleaner syscalls (in particular, make
...
it obvious that they're coming from lfs).
1999-04-12 00:40:06 +00:00
perseant
8d72b3204a
Disallow threshold-initiated cache flush when dirops are active. Also, make
...
SET_ENDOP use lfs_check instead of inlining most of it.
1999-04-12 00:36:47 +00:00
perseant
a520288478
Fix block counting during file truncation, if not truncating to zero.
1999-04-12 00:30:08 +00:00
perseant
bffea14a3f
Make sure that the wakeup occurs for vnodes that lfs_update might be sleeping
...
on (nodes which are not marked IN_MODIFIED/IN_CLEANING, but which have dirty
buffers), by marking them with the appropriate flag if dirtybuffers were added
while the write was in progress.
1999-04-12 00:25:13 +00:00
gwr
9b055e8c43
minor nits -- replace vsprintf with vsnprinf
1999-04-12 00:24:17 +00:00
gwr
8946cf4be4
minor nits -- strncpy into p->p_comm
1999-04-12 00:22:08 +00:00
perseant
e6b7726c9a
Better checking for held inode locks in lfs_fastvget, for a number of error
...
conditions. Also change the default setting of lfs_clean_vnhead to 0, which
seems to make the locking problems go away (although this is difficult to
test as I can't reliably reproduce them).
1999-04-12 00:11:01 +00:00
perseant
7221719dc7
Fix "lfs_ifind: dinode xxx not found" panic. When inodes were freed,
...
then immediately reloaded, their dinodes were located in an inode block
which was not on disk at the advertized location, nor in the cache (although
it would be flushed to disk next segment write). Fix this by using getblk()
instead of lfs_newbuf() for inode blocks.
1999-04-12 00:04:21 +00:00
perseant
97c6743666
Fix inode reporting in lfs_statfs (the meaning of f_files and f_ffree was
...
reversed).
1999-04-11 23:58:17 +00:00
perseant
d24ffa7077
Mark the current segment with SEGUSE_ACTIVE at mount time, rather than waiting
...
for the first write. If this is not done, the cleaner may try to clean the
current segment out from under the writer if the filesystem is mounted after
a crash (or any other time that the dirty:clean segment ration is high enough).
1999-04-11 23:31:09 +00:00
perseant
6a87896854
Take out the `#ifdef USE_UFSHASH'; use ufs_hashlock to lock the inode free
...
list instead of free_lock.
1999-04-11 23:24:04 +00:00
gwr
2c54ffdf02
Enable the code that gets our gateway+netmask from the
...
bootparam server using the "gateway" pseudo file.
(Compatible with sys/lib/libsa/dev_net.c)
1999-04-11 22:15:25 +00:00
gwr
c0300346be
Add inet_addr.c (for nfs_bootparam.c)
1999-04-11 22:08:06 +00:00
bouyer
503de51fdd
Fix probe code for IDE devices:
...
- Don't rely on ATA signature: some ide controllers seems to not transmit it
properly (SIMIDE on arm32 machines). Instead, when we guess a drive is here
after reset, just mark it as ATA and OLD is it's not ATAPI.
- at attach time, use IDENTIFY to eliminate ghost from the probe. If the
drive had the old flag and IDENTIFY failed, issue a WDCC_RECAL command
to detect a pre-ATA disk. If IDENTIFY succeded, remove the OLD flag,
it's obviously not a pre-ATA disk.
- add a new controller flag, WDC_CAPABILITY_PREATA, used to shorcut parts
of the probe (not necessary, but makes the probe/attach faster). This is
only set by the ISA front-end, all other controllers supported can't have
pre-ATA drives attached.
The mechanism used are more or less the same as before, they have just been
reordered. Should solve port-arm32/7324 (waiting for feedback).
1999-04-11 20:50:28 +00:00
kleink
bff1bef006
* Add a comment to ktrgetheader() mentioning that ktr_len and ktr_buf are
...
being left uninitialized intentionally; addresses PR kern/6987.
* In ktrsysret(), initialize the unused ktr_eosys to avoid writing random junk.
1999-04-11 18:44:00 +00:00
simonb
0a7e699d22
Add "WARNS?= 1" - woohoo!
1999-04-11 04:31:02 +00:00
simonb
cdc059d0d0
Use BOOTRZ instead of BOOTXX.
...
Add -DLIBSA_NO_DEV_IOCTL.
1999-04-11 04:28:14 +00:00
simonb
6247c771c1
Use BOOTRZ instead of BOOTXX.
...
Add a PROM callback for prom_close if not LIBSA_NO_DEV_CLOSE.
1999-04-11 04:27:53 +00:00
simonb
deb30f311a
Include <common.h> to get prototypes for PROM callbacks.
...
Use LIBSA_NO_DEV_CLOSE and BOOTRZ instead of SMALL.
In rzclose() call prom_close() on the descriptor if we're on a
pre-REX machine.
1999-04-11 04:27:30 +00:00
simonb
b2706c76c1
s/vmunix/netbsd/
...
Use BOOTRZ instead of SMALL.
1999-04-11 04:26:31 +00:00
simonb
558e5709dd
Use LIBSA_NO_DEV_CLOSE and LIBSA_NO_DEV_IOCTL instead of SMALL.
1999-04-11 04:26:06 +00:00
simonb
bc48dfc927
Clean up prototypes.
...
Print a message on failure to load or execute kernel.
1999-04-11 04:25:47 +00:00
simonb
f1e493608f
Move MKMAN to ../Makefile.inc.
1999-04-11 04:25:15 +00:00
simonb
c8ba78a09e
Move BINDIR, BINMODE to Makefile.inc.
...
Remove -DSMALL.
Define an empty LIBZ if building first stage bootblocks since LIBZ
defaults to /usr/lib/libz.a.
1999-04-11 04:24:41 +00:00
simonb
96fba8337e
Define BINDIR, BINMODE and MKMAN in the "standard" place.
1999-04-11 04:19:56 +00:00
simonb
9498a6da95
Clean up prototypes and entry variable usage.
1999-04-11 04:08:25 +00:00
simonb
2fb264a52e
Declare some prototypes for the pmax-specific libsa functions.
1999-04-11 04:05:46 +00:00
chs
f455dd6596
add a `flags' argument to uvm_pagealloc_strat().
...
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
1999-04-11 04:04:04 +00:00
simonb
39b90701da
Include <stand.h> so we get a putchar() prototype.
1999-04-11 04:03:29 +00:00
simonb
fa38a5236c
The "found" label is not used if ALLOC_FIRST_FIT is defined.
1999-04-11 04:02:37 +00:00
cgd
050a43f655
start on a glorified system-examination console program.
1999-04-11 03:38:51 +00:00
cgd
7f28b25d23
add support for 'standalone programs', like kernels but not the kernel.
1999-04-11 03:36:21 +00:00
cgd
13fcfc2aeb
only conditionally set BINDIR to /usr/mdec
1999-04-11 02:51:21 +00:00
simonb
e3a5c2451c
Check to see if TRUE and FALSE are already defined before blindly
...
trying to define them ourselves.
Fixes PRs kern/2813 and misc/7356.
1999-04-11 00:59:07 +00:00
tron
4f3bbf516f
Regen from "GENERIC".
1999-04-10 21:36:59 +00:00
tron
7be185347a
Fix dependences and discard irrelevant "cpp" error message.
1999-04-10 21:36:26 +00:00
tron
92b1de5348
Add commented out declaration for "ipip" interfaces.
1999-04-10 21:23:27 +00:00
perseant
46ae977773
Change the reference to "newlfs" in the CHANGES file to the correct "newfs_lfs"
1999-04-10 18:31:05 +00:00
kleink
6cdc67693f
It's amazing how many typos I can invent in a new multi-line comment.
1999-04-10 17:31:02 +00:00
drochner
ca88198b65
while symbol support in DDB is good to have one _can_ live without it
1999-04-10 15:10:56 +00:00
drochner
13bff3d3e5
remove unneeded old-vm includes
1999-04-10 14:28:22 +00:00
drochner
010bce1d1a
add BUS_SPACE_ALIGNED_POINTER() definitions for completeness
1999-04-10 14:06:27 +00:00
drochner
2a614bc836
add support for 80x40 screens
1999-04-10 14:02:11 +00:00
drochner
10bc77390d
remove unneeded <vm/vm_object.h>
1999-04-10 14:00:38 +00:00
drochner
d79282e281
rip out some old-vm specific definitions and prototypes for address space
...
sanity
1999-04-10 13:52:11 +00:00
scw
de18281718
Put some delays around the SCSI bus reset code.
1999-04-10 11:14:16 +00:00
gwr
a8d683c525
Fix compile error in: sys/lkm/vfs/miscfs/procfs
1999-04-10 02:15:46 +00:00
simonb
cda54b761e
Apply rev 1.8 of sys/arch/i386/stand/lib/loadfile.c:
...
fix error handling: almost all errors were ignored
YES, this will be made MI soon...
1999-04-10 01:52:33 +00:00
cgd
6d0fadbd19
be more consistent about use of 'cputype'. e.g. it's in a header, don't
...
bother 'externing' it everywhere!
1999-04-10 01:21:36 +00:00
abs
71c5a6babd
Fix ethernet address location for Compex Linkport ENET-B. From PR 7238.
1999-04-09 23:19:27 +00:00
kml
a7f8ef5e9b
Ensure that out of window SYNs receive an ACK in responce, rather than
...
being dropped. This fixes a bug reported by Jason Thorpe.
1999-04-09 22:01:07 +00:00