Commit Graph

148900 Commits

Author SHA1 Message Date
martin
f8fef2f801 regen 2006-07-13 23:10:40 +00:00
yamt
9cb0d9a9d8 compat_30_sys_getfh: s/fhandle_t/struct compat_30_fhandle/ (fix overrun.) 2006-07-13 23:04:02 +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
pavel
65ace88efa regenerate again to have correct source RCS Id 2006-07-13 22:35:06 +00:00
martin
74709a8860 Apply _KERNEL_OPT 2006-07-13 22:08:00 +00:00
gdamore
b67e43bbbc Register name for "psm" driver. 2006-07-13 22:05:53 +00:00
martin
3fb505e6b2 Version the lfs_cleanerd internal fcntl() for filehandles too,
so old cleaners should work with newer kernels.
2006-07-13 22:05:52 +00:00
martin
edf136d748 fix typo 2006-07-13 21:51:50 +00:00
gdamore
2f446293b4 Activate argpio. Apparently I forgot to commit this change earlier.
Noticed while merging other com(4) changes.
2006-07-13 21:38:24 +00:00
bjh21
642809bdd7 Bump version number for today's changes. 2006-07-13 21:32:12 +00:00
martin
b2fb3338d9 Adapt to getfh versioning 2006-07-13 21:31:31 +00:00
gdamore
ccee3fc76f Revert yamon_getenv() so it returns char *. While this is suboptimal, it is
the only convenient way to use the returned value with numerous library
routines which have not been altered to properly use constified char *.

This was found to be necessary when I extended yamon to hold a string
describing a video mode for use with my experimental radeonfb.
2006-07-13 21:06:18 +00:00
uwe
4c3c91e691 De-__P. ANSIify.
Same object code is generated (except in prf.c, where putchar argument
type was changed to int to match the prototype and one instrcution
changes accordingly).

strategy() in ofdev.c was not ANSIified in this sweep, b/c that
changes code generated at call sites!
2006-07-13 20:03:34 +00:00
martin
629693c760 Lint insists on this. 2006-07-13 19:09:06 +00:00
christos
2b91c98c21 remove PAM_DEBUG 2006-07-13 18:18:09 +00:00
garbled
a59f110c72 Rather than hardcode the location of the Interrupt Vector Register, we
try to locate it using the residual data.  On some machines this doesn't
work, so we fall back to hardcoding it.  This should fix isa interrupts
on the 7025-F40, which has the IVR at a different location.
2006-07-13 17:50:37 +00:00
christos
eb251235c6 flex arrays are a c9x feature. 2006-07-13 17:49:29 +00:00
martin
9adca95023 COMPAT_SUNOS* uses COMPAT_30 getfh too 2006-07-13 17:39:47 +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
martin
508a062fec Make freebsd_sys_getfh use compat_30_sys_getfh 2006-07-13 16:28:38 +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
890c1cd933 It's possible to launch the installation kernel by double-clicking it now. 2006-07-13 15:19:58 +00:00
bjh21
5fa51428d5 Fix a couple of .Pa that should have been .Pp. 2006-07-13 15:07:47 +00:00
bjh21
74be07eab4 Correct another reference to BtNetBSD.zip.
Also spell "RISC OS" consistently and correctly throughout.
2006-07-13 14:50:27 +00:00
martin
81b2f47532 Do not automagically UP the interface when setting the address.
Together with previous ifconfig changes, this fixes PR 30694, at
least for pppoe (and other sppp based) interfaces.
2006-07-13 14:04:50 +00:00
martin
50edcae7de Trying the old "ifconfig <name> x.x.x.x down" issue again:
if the kernel does not set the interface up after we set an address,
do it explicitly, unless we (previously) set it down on user request.

This will allow the network drivers to be "fixed" while keeping visible
behaviour the same. Part of fixing PR 30694.
2006-07-13 14:02:03 +00:00
bjh21
99397e519f BtNetBSD is shipped as a Spark archive complete with RISC OS file types now,
which simplifies things considerably.
2006-07-13 13:53:45 +00:00
bjh21
0daf2ef0d5 Fix sources of software. 2006-07-13 13:45:47 +00:00
martin
8e562bd728 No arg names in prototypes 2006-07-13 13:43:27 +00:00
bjh21
d117d70cb0 boot32 can boot gzipped kernels (when it works at all), so there's no need
to require a standalone gunzip.
2006-07-13 13:25:17 +00:00
bjh21
f2742dcfa1 Fix a couple of error flagged by mdoc. 2006-07-13 13:15:04 +00:00
bjh21
07505ac8d7 Update to describe the set of kernels we actually ship on acorn32. 2006-07-13 13:14:36 +00:00
martin
688ce05cf5 Ooops, forgot to add this with the last commit 2006-07-13 13:07:31 +00:00
wiz
2417e0f031 "file system", mark up NULL, use Brq for braces,
start sentence with uppercase letter.
2006-07-13 12:35:51 +00:00
martin
0a09af8063 Bump minor to 143 (getfh versioned) 2006-07-13 12:04:13 +00:00
martin
1db12186aa Welcome to 3.99.22 (getfh(2)/vfs_composefh changed) 2006-07-13 12:01:48 +00:00
martin
a3b5baed42 Fix alignement problems for fhandle_t, exposed by gcc4.1.
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).
2006-07-13 12:00:24 +00:00
mrg
70e8425daf properly check the return value of read() & pread(). PR#26688. 2006-07-13 11:51:39 +00:00
he
f884703a86 Mark libstdc++.so.6 as being for gcc=4.
Add libstdc++.so.5 and mark it as being for gcc=3.
2006-07-13 11:46:37 +00:00
he
96aa79df49 Mark various files installed in ./usr/include/g++/bits as only for gcc=4.
However, mark the g++ "fstream" and "new" include files for use with any
gcc version, as they're also installed when gcc=3.
2006-07-13 11:43:54 +00:00
martin
da409b10aa This needs <sys/param.h> for NGROUPS 2006-07-13 11:07:19 +00:00
drochner
dee4b5b02f Map kernel stack and "struct cpuinfo" of secondary processors with
execute permission. (I don't understand yet why the latter is needed.)
This fixes crashes of MP kernels reported by Kurt Schreiner and in
the context of PR port-amd64/33927 (which is about a different problem
otherwise).
MP kernels reported to boot again by Dave Huang and Kurt Schreiner.
2006-07-13 10:53:08 +00:00
he
3af86f2e2f Move the single remaining line from md.x86_64 to md.amd64, and put
md.x86_64 back to deleted state.  It is a long time since the latter
file was inspected when putting together set lists for amd64.
2006-07-13 10:20:49 +00:00
wiz
8932f188b9 New postfix releases. 2006-07-13 09:59:23 +00:00
simonb
4f3492d966 Add a blank line between two unrelated parts of code. 2006-07-13 07:36:04 +00:00
simonb
580c3efb5a Add ksyms pseudo device. 2006-07-13 04:52:04 +00:00