Commit Graph

88291 Commits

Author SHA1 Message Date
thorpej
c6eda17887 Move generic ARM headers into ad.arm. Update the md.{arm26,arm32}
and obsolete.{arm26,arm32} files for the current reality.
2001-11-24 02:09:11 +00:00
mrg
9ba47996ff add an example for forcing sparc blocks 2001-11-24 01:52:02 +00:00
mrg
b4e48d1175 correct sparc64 bootblk/ofwboot pathnames (PR#14701), note ofwboot.net,
clarify sparc example is for sparc and add a sparc64 example, and
finally, add a FILES section describing all the sparc* bootblock files.
2001-11-24 01:44:55 +00:00
thorpej
372f11b657 The ARM, Ltd. floating point emulator has moved to arch/arm. 2001-11-24 01:43:20 +00:00
thorpej
fc2c469259 The ARM, Ltd. floating point emulator has moved to arch/arm. 2001-11-24 01:27:11 +00:00
thorpej
87fe867c21 Move the ARM, Ltd. floating point emulator to arch/arm. 2001-11-24 01:26:23 +00:00
thorpej
598f003e0a More G/C. 2001-11-24 01:16:54 +00:00
thorpej
1cfe216e3b Garbage-collect more acorn32-specific stuff. 2001-11-24 01:15:36 +00:00
thorpej
99ae803762 Gerbage-collect a lot of stuff long since moved to arch/acorn32. 2001-11-24 01:11:51 +00:00
perry
7c92f5c3a7 add a VTOC macro that doesn't cast, and fix a spurious lvalue cast with it. 2001-11-24 01:11:34 +00:00
thorpej
1a60d78375 These files are no longer used; the Acorn RiscPC port is now
NetBSD/acorn32.
2001-11-24 01:02:21 +00:00
thorpej
ef9741def9 No need to install bootconfig.h 2001-11-24 00:57:43 +00:00
martin
c21931cf1d Make this respect down interfaces. 2001-11-24 00:21:27 +00:00
thorpej
2e546f76dd Don't need "options PROG32" anymore. 2001-11-24 00:11:00 +00:00
soren
2e3553d407 Make sure to hook into DDB/KGDB if so requested. 2001-11-23 23:48:07 +00:00
jdolecek
3abeb309bf Use <sys/systm.h> instead of <systm.h>. Noted in kern/14697 by John Franklin 2001-11-23 23:46:44 +00:00
thorpej
49592e9870 No need to install irqhandler.h 2001-11-23 23:34:48 +00:00
jdolecek
8ea026bc30 add the 'drive' locator
g/c BUGS, add NOTES sections and note the driver should work okay
on machines with >16MB RAM
2001-11-23 23:00:52 +00:00
jdolecek
bb23eba3d8 MCA DMA hooked via bus_dma, so remove one
add entry regarding AHA-1640 (the driver needs testing)
2001-11-23 22:57:34 +00:00
jdolecek
07312f0fbb Convert over to use the new MCA DMA facilities, which encapsulate
the MCA DMA controller access. This also means we gain >16MB RAM support.

While here, overhaul the driver to saner state, especially:
* simplify and clean the attach code a lot, and support the 'drive'
  locator
* pass proper dev_t to readdisklabel() - formerly, the passed value was
  completely broken (used incorrect major and wrong minor), but worked
  by accident
* worker thread is now spawned per controller, rather than per-drive;
  i/o cannot be done concurrently by different drivers, only one
  i/o can be pending at any time
* simplify the command queue code, just sleep appropriately when
  !poll case, g/c 'async' code formerly needed, move the bio code
  from ed_mca.c to edc_mca.c:edc_bio()
* put all string arrays used by edc_dump_status_block() within #ifdef EDC_DEBUG,
  and use numbers instead if it's not defined; this cuts object size by 5KB
* other misc cleanups
2001-11-23 22:53:09 +00:00
jdolecek
90fac765da add 'drive' locator to mca edc 2001-11-23 22:35:46 +00:00
chs
9b6f5a226b macos partition tables appear to use 512 bytes per record rather than
1 sector per record.  change the label code to use the same layout
so that CDs with macos partition tables work.
2001-11-23 22:31:22 +00:00
jdolecek
851fb345aa add mca_dmamap_create() prototype for MI code 2001-11-23 22:29:16 +00:00
jdolecek
ed11067c01 Properly glue in the MCA DMA controller support, using bus_dma
interface, using the code from dev/mca/edc_mca.c:edc_setup_dma()
as a base. Use ISA routines for dmamap/dmamem functions, primarily
to get the buffer bouncing for >16MB RAM machines.  The MCA DMA
channel is stored in unused upper 4 bits of ISA DMA cookie's
id_flags, hopefully that's not too disgusting :)
Export mca_dmamap_create(), which returns map suitable for further DMA
operations using MCA DMA controller.

mca_busprobe(): also report if machine has 32bit DMA (feature byte 2
bit 1)

Use symbolic names for DMA controller commands - I've finally got
info what they mean from Tymm Twillman's Linux include/asm/mca_dma.h.
No more magic constants! Also fix bug in the way DMA counter has been
setup - for 16bit DMA, it's necessary to tell the controller _half_
the byte count. This was wrong in the former code.
2001-11-23 22:24:36 +00:00
thorpej
87bbb48244 Put solib.o back in NATDEPFILES; gdb really drives me crazy sometimes. 2001-11-23 22:08:20 +00:00
jdolecek
bf7f67be85 if the LKM support is not compiled in, don't bother using exec_lock
at all, it's only needed in LKM case

use #if defined(LKM) || defined(_LKM) condition for netbsd32_execve.c,
to DTRT when either compiled statically into kernel with LKM support,
or compiled as a LKM
2001-11-23 22:02:39 +00:00
chs
a106161b5a add spaces for KNF. confirmed to produce identical objects. 2001-11-23 21:44:25 +00:00
thorpej
b8ed19b4ef No longer need <machine/undefined.h>. 2001-11-23 21:23:30 +00:00
thorpej
fc019be5fd Use <arm/undefined.h> instead of <machine/undefined.h>. 2001-11-23 21:18:29 +00:00
jhawk
da2f8002bb hyphenate compound words
s/libc/C library/
grammar nits.
2001-11-23 21:06:02 +00:00
thorpej
597c20c6d6 Don't need a <machine/profileio.h> on these platforms. 2001-11-23 20:56:27 +00:00
thorpej
dbbad6df48 profileio.h is a Shark-specific header, so don't reference an
ARM-generic verion (it's going away).
2001-11-23 20:47:17 +00:00
thorpej
0a824f32cb No longer need <machine/pte.h>. 2001-11-23 20:43:03 +00:00
wiz
147717c2f0 Two punctuation-vs.-macro improvements, and a grammar fix. 2001-11-23 20:21:49 +00:00
thorpej
a41a73c44a No longer need <machine/cpus.h> 2001-11-23 19:51:32 +00:00
jdolecek
1c36ca124c document new error cases
state standard conformancy - besides RLIMIT_AS (which is not supported
currently), getrlimit()/setrlimit() conform to SUSv2
use more standard description cookie for error return in RETURN VALUES
mention also ulimit of sh(1), besides limit of csh(1)
2001-11-23 19:50:13 +00:00
thorpej
889b84bdfc Use <arm/cpus.h>, not <machine/cpus.h> 2001-11-23 19:46:35 +00:00
thorpej
0ab1aedd0d No longer need <machine/cpufunc.h> 2001-11-23 19:40:45 +00:00
thorpej
969599022a Use <arm/cpufunc.h>, not <machine/cpufunc.h>. 2001-11-23 19:36:48 +00:00
jhawk
62d68d1c31 Grammar nit from 1.14.
Dd from 1.5.
2001-11-23 19:23:43 +00:00
thorpej
0c57d87232 Use <arm/cpufunc.h>, not <machine/cpufunc.h>. 2001-11-23 19:21:47 +00:00
thorpej
d60ef922be Disable the BTB by default on the XScale again; there's some early
stepping errata to deal with before we can safely do this.
2001-11-23 19:17:04 +00:00
jdolecek
59f63c238e Two changes to setrlimit(2):
* return EINVAL if specified current limit exceeds specified hard limit.
  This behaviour is required by SUSv2 (noted by Giles Lean on tech-kern)
* return EINVAL if an attempt is made to lower stack size limit below
  current usage; this addresses bin/3045 by Jason Thorpe, and conforms to SUSv2
2001-11-23 18:56:33 +00:00
wiz
ced65d9a35 Quote .Sq argument, and give correct argument to .Bd -offset (_not_ xxxx).
Second part fixes misc/14692.
2001-11-23 18:40:59 +00:00
jdolecek
cd484662e8 add '-susv2' - Single UNIX (TM) Specification, Version 2 (SUSv2'', Unix98'') 2001-11-23 18:40:49 +00:00
jdolecek
43d484c439 it's sufficient to say _once_ that the functions are macros; keep
the one which states sigemptyset() and sigfillset() are macros
Xref signal(7)
2001-11-23 18:30:11 +00:00
jdolecek
4a354050fc s/Sig/Specified sig/ in ERRORS 2001-11-23 18:24:30 +00:00
jdolecek
ac3668b158 remove the list of Berkeley-specific signals from STANDARDS
section, the whole list is available in signal(7)
2001-11-23 18:19:42 +00:00
thorpej
5101f01dff Move even more constants into the shared 32-bit vmparam.h header.
Cleanup elsewhere will have to be done before we can sanitize this
header any further.
2001-11-23 18:16:10 +00:00
perry
a772ed1f5f add comments noting the mktemp usage is safe.
long run I think we have to abandon using the linker for warnings and
beef up lint instead.
2001-11-23 18:14:51 +00:00