Commit Graph

148890 Commits

Author SHA1 Message Date
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
simonb
d70131b1fd Move the ksyms pseudo device to the miscellaneous section. 2006-07-13 04:50:36 +00:00
kent
c02a4b5cc3 regen for VT82xx HDA 2006-07-13 04:00:13 +00:00
kent
656314001f - add VIA VT8237A/8251 High Definition Audio Controller
- add some tabs
2006-07-13 03:59:29 +00:00
kent
5b129585f8 For MCP55, don't check CORBRPRST flag
a part of PR#33741
2006-07-13 03:57:40 +00:00
ross
afb5180310 wrap as(1)-only elements in #ifdef _LOCORE 2006-07-12 23:52:21 +00:00
he
7a66dda031 Omit specifying the secondary bootloader on the installboot command line
for sparc64 systems.  This should fix PR#33987.

Also adapt to the way sparc64 32-bit kernels now report its CPU
architecture -- these still need the sparc64 boot loader, but now
report hw.machine = sparc.  Adapt by testing machdep.cpu_arch
instead.

Hints from martin and mrg.
2006-07-12 21:34:45 +00:00
garbled
40bedaf4c8 Add support for rebooting 7024 and 7025 models. Since I cannot figure
out how to properly reboot these machines, instead we make use of the
auto-poweron-alarm time, and power cycle the machine to simulate a
reboot.  This is a hack, but until I get documentation on these machines,
at least you will be able to reboot them.
2006-07-12 21:28:33 +00:00
christos
692e9c49f5 PR/33984: YAMAMOTO Takashi: lint complains about typedef
The grammar for c99 initializers only looked for name tokens, so if there
was a typedef'ed name it failed. Fixed by looking at all identifier tokens.
2006-07-12 20:03:48 +00:00
perry
c857ec66f9 Note that people should not be using UFS_DIRHASH. 2006-07-12 18:45:51 +00:00
martin
30b452e3dc Some interfaces are initially created with zero addresses on them
(like pppoe). Make the loop over all interface addresses cope.
Problem reported by Christian Hattemer.
2006-07-12 17:26:11 +00:00