Commit Graph

156853 Commits

Author SHA1 Message Date
tsutsui 1b20cebad5 Hide #include <m68k/softintr.h> inside #ifdef _KERNEL in <machine/intr.h>
to avoid exporting unnecessary files to userland.
Should fix build.sh failure, which was pointed out by isaki@.

XXX: which userland program would require contents of <machine/intr.h>?
2007-03-04 05:28:38 +00:00
dyoung 25640dc740 Mention options IPSELSRC. 2007-03-04 05:14:55 +00:00
tsutsui d6ca0e8299 Several fixes to make sgimipscd actually bootable:
- introduce SGIMIPS_SGIVOL variable which specifies sgivol(8) path
  because nbsgivol tool is available only in TOOLDIR for sgimips and
  possibly exists in a different directory from default TOOLDIR path
- use fixed (4096) value for SGIVOLHDR.size because default value
  taken from <sys/bootblock.h> is 3135 (not multiples of 4) so it
  doesn't match 2048bytes/sector CD images
- also pass SGIVOLHDR.size to sgivol(8) on creating volume
- rename raw iso9660 image before creating SGIVOLHDR to avoid
  incomplete (non-bootable) image left on failure of sgivol(8)

Problem (i.e. sgimipscd-3.0.2.iso is not bootable) was reported
by Thierry Lacoste on port-sgimips, and fixed images are also
tested by him on IP22 (and by me on IP32).
2007-03-04 04:59:41 +00:00
tsutsui 3723e75357 We can't use && in expression for test(1); use -a instead. 2007-03-04 04:27:21 +00:00
tsutsui 327f43d18c Add a new TARGET_CD_IMAGE variable which specifies single target ISO image,
to make debugging Makefile easier.

For example:
# make RELEASE=3.1 obj
# make RELEASE=3.1 TARGET_CD_IMAGE=sgimipscd fetch
# make RELEASE=3.1 TARGET_CD_IMAGE=sgimipscd

or:
# make RELEASE=current obj
# make RELEASE=current RSYNC_SITE=rsync://rsync.NetBSD.org/NetBSD-daily/HEAD/200702280002Z TARGET_CD_IMAGE=macppccd fetch
# make RELEASE=current TARGET_CD_IMAGE=macppccd

etc.
2007-03-04 04:16:15 +00:00
uwe 526ec18492 G/c NOP_ON_4_4C_1 that used to be part of microtime.
Keep for reference but ifdef out the code to munge 4/4c nops
as there are none left.
2007-03-04 04:00:00 +00:00
tsutsui 8a4debd1f3 Remove an extra trailing slash. 2007-03-04 03:52:08 +00:00
isaki 321252311a Delete old prototypes. 2007-03-04 03:25:33 +00:00
uwe 2c8356ade4 Don't mix code and declarations/defintions.
Use designated initialization for strict timecounter.
Misc cosmetics.  Clean up whitespace.
2007-03-04 03:04:41 +00:00
tsutsui 52db0b4730 Add ld(4) and some RAID devices (to debug EISA stuff with mlx(4)). 2007-03-04 03:03:46 +00:00
uwe 45a792f485 Define MSIIEP_COUNTER_LIMIT 2007-03-04 03:01:07 +00:00
tsutsui 8c864d4bd5 Fix EEPP_INTMAP values, as per my ISA EtherExpress PRO/10.
(though it still has some other problem)
2007-03-04 02:59:07 +00:00
tsutsui 4007519959 Make this timecounter(9) ready. From kardel@. 2007-03-04 02:49:12 +00:00
tsutsui 4f4391e397 Move mkldscript.sh, which is used to create ldscript dynamically to
merge link_set_* sections into the text section for a.out kernels,
from sys/arch/arm/conf/ to sys/conf/ since there is no ARM specific
stuff in it and other ports would share it.
2007-03-04 02:35:49 +00:00
tsutsui 78ad5c2b07 Add MI softintr(9) support for luna68k with common m68k/softintr.c.
Compile test only.
2007-03-04 02:23:16 +00:00
tsutsui 75e46e71a6 Global ssir (similated software intnerrupt request?) is now declared
in softintr.c so remove it from locore.s.
2007-03-04 02:17:15 +00:00
tsutsui 72c70a3609 Add MI softintr(9) support for x68k with common m68k/softintr.c.
Tested by isaki@ and Yasushi Oshima.

XXX: x68k/dev/com.c should be rewritten to use MI com(4).
2007-03-04 02:08:08 +00:00
tsutsui a3be972973 Make hp300 use common m68k/softintr.c. 2007-03-04 01:57:21 +00:00
tsutsui b23f121559 Add common soft interrupt routines for m68k ports which use
hp300 derived simulated software interrupt with VAX REI emulation.
Just taken from hp300/hp300/softintr.c and sys/arch/hp300/include/intr.h.
2007-03-04 01:54:04 +00:00
uwe 82797f3bca bandaid for a problem exposed by newlock2
the kernel enables interrupts and then sets up clocks. If we catch a timer
interrupt in between and call hardclock() we'll explode so for now just
bail when we get one while cold
2007-03-04 01:53:44 +00:00
jmcneill 963e8dd8ad Regen. 2007-03-03 23:50:40 +00:00
jmcneill edfe9e885a Add pcHDTV HD-5500 HDTV video capture 2007-03-03 23:49:49 +00:00
macallan 175e90b6f0 shave a nop 2007-03-03 23:42:20 +00:00
tsutsui 5c8caf9e94 Add an entry to match hwrev RTK_HWREV_8100E_SPIN2 too.
XXX: should we use PCI_REVISION() rather than hwrev
     for 8139C+ as OpenBSD does?
2007-03-03 17:23:12 +00:00
apb ae3120701b * Delete reference to MAKEDEV.subr.
* Add an entry for the new way MAKEDEV.local shares MAKEDEV's code.
2007-03-03 15:43:12 +00:00
skrll dfe7bffe46 G/C this file. *sigh* 2007-03-03 14:41:32 +00:00
skrll bb026cb226 Remove hppa_{round,trunc}_page. 2007-03-03 14:37:54 +00:00
yamt db7b717dea revert an unreasonable whitespace change in rev.1.8. 2007-03-03 10:55:34 +00:00
skrll 830baead4e Actually remove spinlock.h 2007-03-03 10:52:45 +00:00
itohy d2585a8c91 Remove extra space so that symbol renaming works properly. 2007-03-03 10:08:18 +00:00
macallan 3e166b9534 found the last piece of crack, so
- now my sparcbook goes multiuser without LOCKDEBUG
- shaved a couple instructions
2007-03-03 09:21:19 +00:00
dsl 3fa05cb2a1 Document -M (creates mfs filesystem for init). 2007-03-03 08:10:09 +00:00
dsl 19a3aab826 Update info about running MAKEDEV to note that MAKEDEV itself now creates
the mfs filesystem.
2007-03-03 07:54:15 +00:00
apb b3ee2947ce Revert previous. It was work in progress, accidentally included
when other nearby files were committed.
2007-03-03 07:41:17 +00:00
tsutsui 6d4ee08459 - move netintr() from isr.c to softintr.c and make it static
- remove redundant initialization in ipl2psl_table.
2007-03-03 07:36:11 +00:00
isaki c57dd8f6e4 -Wconversion is too strict. 2007-03-03 07:10:30 +00:00
apb 1478a06a86 Remove all reference to MAKEDEV.subr. Add a reference to MAKEDEV.local. 2007-03-03 06:56:25 +00:00
apb 85ea48fdbf In the MAKEDEV(8) man page, document the MAKEDEV_AS_LIBRARY variable.
In the MAKEDEV.local(8) man page, document more detail about the
(now complex) relationship between MAKEDEV and MAKEDEV.local.
2007-03-03 06:53:41 +00:00
apb 9271fd890c Revert previous. MAKEDEV.subr no longer exists. 2007-03-03 06:43:46 +00:00
apb 305d6c91e1 MAKEDEV.subr no longer exists. Don't install it in any ramdisk
or miniroot images.
2007-03-03 06:40:05 +00:00
apb 5f5bff1ef6 Mark dev/MAKEDEV.subr as obsolete 2007-03-03 06:37:21 +00:00
apb 68723a5b5f Remove MAKEDEV.subr. This removes the risk of third party scripts (or
human procedures) breaking because they assume it's enough to copy
MAKEDEV fom one place to another.

Let MAKEDEV return after defining shell functions but before doing any
real work, if MAKEDEV_AS_LIBRARY is set.

Let MAKEDEV.local load MAKEDEV as a function library via
"MAKEDEV_AS_LIBRARY=1 . MAKEDEV".
2007-03-03 06:36:00 +00:00
tsutsui 6c3a4a6a17 Remove unused autovectored ISR priorities. 2007-03-03 02:49:56 +00:00
jnemeth 7cab5bde24 add support devctl properties 2007-03-03 02:44:44 +00:00
tsutsui d4fbe368ec Apply fix for boolean_t -> bool changes on uvm.page_idle_zero access.
Thanks Tobias Nygren for help, ok'ed by thorpej, and tested on
1000A by Aaron J. Grier and on PC164 and 3000/300 by me.
2007-03-03 02:20:44 +00:00
salo 20af5e4fd5 Don't prepend rootvnode to the path in non-NULL case for exe links.
It breaks procfs in chroot.

from <christos>, tested by me.
2007-03-03 01:18:32 +00:00
simonb fbd2813869 No need to cast pointers to (char *) when passing to free(3). 2007-03-03 00:09:30 +00:00
macallan 1d3e6cfad2 unsmoke some more crack ;)
mutex_enter() and mutex_exit() should now work properly
2007-03-03 00:00:30 +00:00
christos 59bba4a15c Although we don't have a kqueue implementation yet, there is no point in
limiting the max fd in the poll case. Pointed out by Jan Schaumann, original
patch from FreeBSD/John Baldwin.
2007-03-02 22:56:15 +00:00
dsl 7bb36ad737 Use the correct major number for the temporary console node 2007-03-02 22:44:16 +00:00