Commit Graph

88252 Commits

Author SHA1 Message Date
lukem
99bccc3cab - pull in opt_kgdb.h where necessary
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
	KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
	DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for  options KGDB_DEVNAME="\"com\""
- use correct quotes for  options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
2001-11-20 08:43:19 +00:00
chs
7305fb6b53 include COMPAT_AOUT_M68K stuff. 2001-11-20 07:48:31 +00:00
chs
77b6c48c4c support both ELF and a.out symbols for DDB. 2001-11-20 07:45:04 +00:00
enami
d4813d9d45 Just test if DEBUG_MEMLOAD is defined or not instead of testing its value. 2001-11-20 07:44:17 +00:00
enami
78bcf7e362 Cosmetic changes to previous commit. 2001-11-20 07:42:33 +00:00
enami
39ab348507 Call pr_log(PRLOG_GET) when POOL_DIAGNOSTIC is defined instead of DIAGNOSTIC
for consistency.
2001-11-20 06:57:04 +00:00
shin
07356ec733 improve r4k_sdcache_XXX_generic(). 2001-11-20 06:32:21 +00:00
lukem
399b58be96 whitespace cleanup 2001-11-20 06:00:09 +00:00
jmc
44bdb9b1a4 Use x_ed so the floppy once again fits 2001-11-20 05:45:57 +00:00
jmc
f8565571ef Make sure clean rule cleans out all of the ramdisk stuff. Also include
bsd.prog.mk so libhack builds.
2001-11-20 05:45:26 +00:00
jmc
424f64c3fb Change rule to realall as dependall is defined in the .mk files 2001-11-20 05:44:47 +00:00
itojun
68c998d0d9 sync with 20010228-pl08 2001-11-20 03:58:40 +00:00
itojun
4f1d006b34 postfix-20010228-pl08 2001-11-20 03:52:29 +00:00
itojun
273a0d13f3 cleanup leftover of IPv6 patch 2001-11-20 03:50:49 +00:00
chs
8f0070db30 prepare for ELF:
- add "%" prefix to register names in assembly code.
 - use _C_LABEL() where necessary.
 - use packed structures where necessary to match the old ABI.
2001-11-20 03:19:41 +00:00
thorpej
21abbf17cd Add _initialize_armnbsd_nat() (didn't bother re-running the script;
this was a pretty simple manual change).
2001-11-20 02:59:46 +00:00
thorpej
06cf8784f0 Add _initialize_armnbsd_nat(), which registers our core file
handlers.  Whee, can fetch registers from core files now.
2001-11-20 02:58:31 +00:00
thorpej
4a4183056d Back out part of previous; needs more thought as to what to do
wrt. 26 vs 32 bit for kcore.
2001-11-20 02:41:14 +00:00
oster
d11d1bd6fe Cleanup some whitespace that indent got wrong a long time ago. 2001-11-20 02:37:29 +00:00
chris
9cc0f33345 Tidy up some memory copying cruft:
bcopy.S is no longer needed
memmove and memcpy were both stacking r0 and unstacking it to keep the return value, so push this down into _memcpy.
rename _memcpy.S to memcpy.S.
memmove.S is now just a placeholder otherwise the make system automagically adds a memmove.c file to libkern.
memmove is just another entry point for memcpy.
2001-11-20 00:29:19 +00:00
chris
04d6054972 Correct comment to avoid confusion, it really means 32 bits not 32 bites. 2001-11-20 00:22:33 +00:00
matt
77ab725cbb Enable DOZE mode for the 604ev. 2001-11-19 23:30:07 +00:00
matt
3ae5a183aa Fix boot device selection when booting from an alias. If the bootpath
isn't an OFW device, look it up in /aliases and substitute the bootpath
found into the string.  This allow device_register to do it's thing.
Key off the drive number, not the channel, in autoconf.c.  Closes PR#13756.
2001-11-19 23:22:48 +00:00
tsutsui
859356d03b Add a new quirk value PQUIRK_CAP_SYNC for SCSI1 devices which support
sync transfers, and set PERIPH_CAP_SYNC for them in scsi_probe_device().
As per discussion on tech-kern.
2001-11-19 22:50:00 +00:00
thorpej
5bf7d42e9c Move solib.o to TDEPFILES. Add kcore-nbsd.o to NATDEPFILES, -lkvm
to NAT_CLIBS.
2001-11-19 22:17:42 +00:00
tv
8d6c6077ed The test for USE_NEW_TOOLCHAIN is based on the variable being *set*, not
a comparison of its value.  Instead, use ${USE_NEW_TOOLCHAIN:Dyes} and
change the if block back to [ ... = "yes" ].
2001-11-19 20:43:33 +00:00
chris
165b023373 Give the idle loop a non-profiled entry, means it appears in profile info correctly (rather than all it's time being under remrunqueue)
switch_exit only needs to take 1 parameter, it loads the value of proc0 into R1 itself
Fixup some comments to reflect the real state of things.
Tweak a couple of bits of asm to avoid a load delay.
remove excess code for setting curpcb and curproc.
2001-11-19 20:38:58 +00:00
thorpej
ba9581a345 Reorder the device table to make the UART at J9 attach before the
UART at J10 (this is the same ordering the RedBoot uses, and also
is intuitive).
2001-11-19 19:08:33 +00:00
thorpej
2d7fd0a8b8 Implement pmap_update(). Currently it just calls cpu_cpwait(),
which ensures that TLB/cache operations have completed.
2001-11-19 18:41:32 +00:00
thorpej
887bcc078e Add a "cpwait" cpufunc, currently a nullop on all but XScale.
"cpwait" ensures that all coprocessor operations have completed
before returning.
2001-11-19 18:40:15 +00:00
soren
f270ebd294 Remove obsolete comment. 2001-11-19 17:39:54 +00:00
soren
b76c8dbfc9 Remove netbsd.high Ind* load address hack and use a separate
distribution GENERIC instead.
2001-11-19 17:39:31 +00:00
soren
db0828bda0 Remove driver options that don't belong in std.sgimips. 2001-11-19 17:38:24 +00:00
soren
3fe377a8b9 s/sgi/sgimips/
Remove __NO_SOFT_SERIAL_INTERRUPT.
2001-11-19 17:36:41 +00:00
soren
a36dfe843b Since we can get boot device information from both the boot loader
and the firmware, we allow it to be set only once, so the boot
loader is given highest priority.
2001-11-19 17:35:15 +00:00
soren
6413de2df4 Get L2 cache line size from ARCS.
Remove hack to disable (standard) L2 caches.
2001-11-19 17:33:02 +00:00
soren
ce57fc2bba Also check SystemPartition when finding boot device. Especially
when netbooting, it is practical to load the kernel directly.
2001-11-19 17:29:53 +00:00
soren
77a301e0e8 s/sgi/sgimips/ 2001-11-19 17:28:23 +00:00
soren
eefc317219 Remove duplicate struct scsipi_start_stop. 2001-11-19 17:18:08 +00:00
soren
27e3d258cd Floptical drive needs PQUIRK_NODOORLOCK as well. 2001-11-19 16:54:20 +00:00
kleink
e1deb16aa0 NLS is commonly expanded to Native Language Support, not National Language
Support.
2001-11-19 16:20:26 +00:00
kleink
22c0e4ba00 Expand NLS acronym; from Jeremy C. Reed in PR misc/14577. 2001-11-19 16:15:00 +00:00
minoura
d7835b08b0 Preserve the boot area on x68k. 2001-11-19 13:55:06 +00:00
lukem
4a269de9a1 fix compile error noted by itojun in [kern/14638] 2001-11-19 11:56:50 +00:00
kleink
3a2aafc63a Fix email address. 2001-11-19 10:53:52 +00:00
martin
b44ac684a5 Add $NetBSD$, remove unneeded includes. 2001-11-19 10:20:34 +00:00
wiz
ea7f2f8913 Add RCS Id. Add Xr in some places. Whitespace fixes, drop a .Pp.
Sort sections. Fix some typos. Sort option descriptions. Mark up paths with
.Pa. Use standard headers.
2001-11-19 10:10:45 +00:00
martin
c923d11935 Add ifwatchd. 2001-11-19 09:46:09 +00:00
martin
17b08840ab Enable ifwatchd. 2001-11-19 09:45:46 +00:00
martin
c8b09ee080 New utility: ifwatchd.
Monitors the routing socket for address changes of autonomous (kernel only)
interfaces (like PPPoE) and runs up/down scripts similar to what pppd
does for its interfaces.
2001-11-19 09:43:03 +00:00