Commit Graph

486 Commits

Author SHA1 Message Date
yamt
8bf7662829 merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.
2006-12-21 15:55:21 +00:00
chs
5115829218 feed /dev/null to awk for building modedef.c (for building on solaris). 2006-12-09 22:01:01 +00:00
wiz
6919c6578c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
jmmv
7a13fe4abf Remove tmpfs's experimental status. OK'ed by core@. 2006-11-11 18:47:08 +00:00
bjh21
b09fd5bdb5 No need for two __KERNEL_RCSIDs. 2006-10-26 22:42:00 +00:00
bjh21
84e47229be parse_mi_bootargs() is declared in <arm/arm32/machdep.h>, so there's no need
to declare it here too.
2006-10-24 21:03:13 +00:00
bjh21
65d685fe36 Use <arm/bootconfig.h>. 2006-10-24 20:39:13 +00:00
bjh21
139ac00676 The sec(4) and ei(4) drivers appear to work on acorn32. Use them in preference
to the MD asc(4) and ie(4) drivers.
2006-10-22 14:15:51 +00:00
bjh21
d6e105789d The correct number of elements to insert into cmd_iohs is WDC_NREG. Using
larger numbers risks a buffer overflow and panic.  Bug spotted by Mike Pumford.
Patch compile-tested only, but it's obviously correct.
2006-10-09 21:12:44 +00:00
chs
e8295642bd remove MALLOC_NOINLINE, it doesn't do anything anymore. 2006-10-02 03:28:29 +00:00
manu
f309b668fd - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
2006-09-27 21:42:04 +00:00
bjh21
e0884dc370 PR 23783: the correct number of elements to insert into cmd_iohs is WDC_NREG,
not DRIVE_REGISTERS_SPACE.  The latter is much bigger and causes a buffer
overrun and panic.  Patch supplied by Mike Pumford.
2006-09-24 23:14:58 +00:00
bjh21
e10108c7f2 Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere. 2006-09-03 13:51:23 +00:00
bjh21
09bd451486 Switch acorn32 to MI inittodr() etc. 2006-09-03 12:46:57 +00:00
matt
5322f324e6 Make this console now that vconsole is done and with GCC4. 2006-08-31 05:11:07 +00:00
christos
e0df1e4c51 PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
tsutsui
6ff205ce76 Remove obsolete #options VERIFIED_EXEC, found by grep(1). 2006-08-26 07:59:21 +00:00
bjh21
72e11b654e Clean out some of the junk from this file, sepcifically definitions for
an Amiga DMA controller, and #if 0'ed WD33C93 definitions that are duplicated
in sbicreg.h.  uPD71071 definitions can stay for now, since they're not
actually useless even though they're unused.
2006-08-20 19:26:52 +00:00
bjh21
d91f74bef1 Now that boot32 can pass in a useful frame rate, it's reasonable to use the
standard video mode list in our example kernels, rather that a somewhat
random subset.  So do that.
2006-08-19 23:01:23 +00:00
bjh21
da29c632f0 Add support to boot32 for passing a real vsync frequency to NetBSD.
Unfortunately, RISC OS doesn't seem to provide a sensible way to ask what
frame rate it's using so we resort to measuring it ourselves.
2006-08-19 22:44:57 +00:00
bjh21
9dc302fec2 Arrange things so that if MONITOR isn't defined in the kernel configration,
we use the standard mode list from videomode.c rather than one generated
by makemodes.awk.  This is less useful than it might be since without a useful
frame rate from the bootloader we're likely to end up choosing a screen mode
that's either flickery or too fast for the monitor (or DRAM bandwidth).
2006-08-19 13:34:15 +00:00
bjh21
b70c967724 Clean out some cruft left behind by the old console code. 2006-08-16 09:47:26 +00:00
bjh21
2c38f19586 Finally remove the old, pre-wscons, acorn32 console code. This dated back
to RiscBSD and had been lurking in dark corners scaring people (mostly me)
for far too long.  It will be missed, but not much, and I hope we can clear
up any fallout before 5.0.

While I'm in the area, also remove rpckbd(4), since pckbd(4) has
been supported on acorn32 for ages.
2006-08-14 22:04:30 +00:00
skrll
1a3062e81b s/adpater/adapter/
Prompted by PR/34195
2006-08-14 06:22:33 +00:00
christos
b300b74469 Disable SYSTRACE by default on all kernels (discussed with core) 2006-08-12 15:29:52 +00:00
bjh21
891d055e7c Nothing in the tree pays any attention to "options NC" any more, so don't set
it.
2006-08-05 23:11:11 +00:00
bjh21
6e83f00384 The Hydra code should probably be removed, but until it is, it may as well
not generate spurious diffs in my tree, so bring it up to my working version.
2006-08-05 23:03:21 +00:00
bjh21
d97d9a1480 Xarm32VIDC has supported pckbd(4) for several releases now, so it's probably
safe to stop using rpckbd(4) in wscons configurations.
2006-08-05 22:33:44 +00:00
bjh21
62d6ab40d3 Support for timecounters on acorn32, supplied by Mike Pumford. Only
compile-tested by me, but he promises it works.
2006-08-03 23:19:06 +00:00
drochner
84f50d1b92 don't install <machine/db_machdep.h>, this is kernel only 2006-07-26 19:54:56 +00:00
bjh21
cf7ce97e4b Silly error: xos_cli() should call XOS_CLI, not OS_CLI. 2006-07-20 23:35:20 +00:00
gdamore
34537908ab Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@.  Fixes PR port-evbmips/32362.
2006-07-13 22:56:00 +00:00
bjh21
642809bdd7 Bump version number for today's changes. 2006-07-13 21:32:12 +00:00
bjh21
0867d7e87d RCS ID header. 2006-07-13 16:48:18 +00:00
bjh21
c5e6021bb2 Pass the argument to OSModule_Free in the correct register. This stops
NBFS leaking memory.
2006-07-13 16:29:46 +00:00
bjh21
99d7b7bca3 Fix error handling in nbfs_close(). 2006-07-13 16:11:41 +00:00
bjh21
723176de91 Handle Service_FSRedeclare correctly. NBFS now works after restarting
FileSwitch.
2006-07-13 16:09:58 +00:00
bjh21
bd0da079fe Add Service_FSRedeclare. 2006-07-13 16:03:23 +00:00
bjh21
a0121cb653 Sensible error handling, with libsa errors being mapped to useful RISC OS
errors.  Also centralise our filing system number (as yet unassigned) in
nbfs.h.
2006-07-13 15:51:54 +00:00
bjh21
6431f3b2de Descend into nbfs -- I think it's useful now. 2006-07-04 23:08:51 +00:00
bjh21
c6bb58fda2 We don't actually use NEWVERSWHAT, but we should still try to make it correct. 2006-07-04 23:08:10 +00:00
bjh21
ac8af88277 Add some definitions necessary for the latest NBFS, plus a couple of
functions that my boot32 hacks are likely to require.
2006-07-04 23:06:51 +00:00
bjh21
6022ed9721 Fix missing newline at end of file. 2006-07-04 22:42:11 +00:00
bjh21
b314f251e2 Add suppport for FSEntry_file 255, loading whole files. Now I can open
/etc/passwd in Zap.
2006-07-04 22:34:54 +00:00
bjh21
32bed2b7b7 Add support or FSEntry_Func 14 and FSEntry_Func 15, which seem to be the
important directory-listing entry points.
2006-07-02 22:06:16 +00:00
bjh21
1b0f046ee7 Define LIBSA_NO_TWIDDLE, since NBFS really shouldn't twiddle(). 2006-07-02 22:05:07 +00:00
bjh21
7ec4d05a27 Add a *NBFS command to select NBFS as current filing system. 2006-07-02 22:03:23 +00:00
liamjfoy
aeee5deab9 Add CARP to GENERIC kernel configs. CARP is not enabled by default.
ok: christos
2006-06-28 15:19:27 +00:00
christos
29c1a4c22e GCC4 fixes from Mike Pumford 2006-06-25 21:32:39 +00:00
blymn
44278a4fa1 Clean up bogus whitespace 2006-05-26 11:52:08 +00:00