Commit Graph

111596 Commits

Author SHA1 Message Date
tsutsui a34a62065c Revert part of previous. sdstrategy() no longer calls
bounds_check_with_label() for RAW_PART.
2003-04-18 15:57:37 +00:00
yamt 8178e19cb6 fix a use of an uninitialized variable. 2003-04-18 15:19:02 +00:00
wiz 170f2084f5 New sentence, new line. Use \*[Lt],\*[Gt] for easier HTML conversion. 2003-04-18 15:15:12 +00:00
wiz 294b96ee5a acorn32-kmem(4) now exists. 2003-04-18 15:05:34 +00:00
wiz 600cb54238 Link mem(4) to kmem(4), as it was for arm32. 2003-04-18 15:04:22 +00:00
wiz 9f71225a86 {cat4,html4,man4}/arm32 is obsolete. 2003-04-18 15:02:21 +00:00
wiz ee5e5d4a77 Move some obsolete man pages from base/obsolete.mi to man/obsolete.mi. 2003-04-18 15:01:22 +00:00
wiz 71dd417eff {cat4,html4,man4}/arm32 not needed any longer. 2003-04-18 14:54:57 +00:00
wiz dab156a456 This command is not normally executed at boot time.
Closes PR 21225 by Aidan Kehoe.
2003-04-18 14:53:50 +00:00
christos b8dae40722 Don't invoke the grep for cleandir and obj targets. Suggested by
Juergen Hannken-Illjes
2003-04-18 14:43:49 +00:00
bjh21 360968bcd9 Use <md5.h> rather than <sys/md5.h>. This is what the man page tells us to
do, and is required for cross-compiling since libnbcompat doesn't provide
<sys/md5.h>.
2003-04-18 14:16:42 +00:00
grant 22f8c6e106 note du(1) and df(1) -g arg. 2003-04-18 13:22:25 +00:00
grant 7cc8271010 add -g for output in gigabytes. 2003-04-18 13:16:50 +00:00
grant 1c5efa0509 humanize_number() actually prints 'K' as the suffix for 1024 ('k' is
used for 1000).

minor whitespace fix.
2003-04-18 13:09:22 +00:00
grant eff007b21e add -g to ENVIRONMENT. 2003-04-18 12:49:12 +00:00
grant 6321639a84 change -G arg to -g.
-G was chosen as SuSv2 specified -g was already used in ls(1), but ls
has no blocksize options like df/du, so this was redundant.

bump date in man page.
2003-04-18 12:48:25 +00:00
scw 98d49ded24 Add support for ARM32_PMAP_NEW and ARM32_NEW_VM_LAYOUT to the iq80321 port. 2003-04-18 12:01:32 +00:00
scw 3fe47173f5 Didn't mean to leave PMAP_DEBUG enabled ... 2003-04-18 11:55:26 +00:00
scw ef4ac28e4e Note addition of new arm32 pmap. 2003-04-18 11:20:19 +00:00
scw b84e9438dd Enable ARM32_PMAP_NEW on NetBSD/shark. 2003-04-18 11:11:51 +00:00
scw 41a1932e58 Add the generic arm32 bits of the new pmap, contributed by Wasabi Systems.
Some features of the new pmap are:

 - It allows L1 descriptor tables to be shared efficiently between
   multiple processes. A typical "maxusers 32" kernel, where NPROC is set
   to 532, requires 35 L1s. A "maxusers 2" kernel runs quite happily
   with just 4 L1s. This completely solves the problem of running out
   of contiguous physical memory for allocating new L1s at runtime on a
   busy system.

 - Much improved cache/TLB management "smarts". This change ripples
   out to encompass the low-level context switch code, which is also
   much smarter about when to flush the cache/TLB, and when not to.

 - Faster allocation of L2 page tables and associated metadata thanks,
   in part, to the pool_cache enhancements recently contributed to
   NetBSD by Wasabi Systems.

 - Faster VM space teardown due to accurate referenced tracking of L2
   page tables.

 - Better/faster cache-alias tracking.

The new pmap is enabled by adding options ARM32_PMAP_NEW to the kernel
config file, and making the necessary changes to the port-specific
initarm() function. Several ports have already been converted and will
be committed shortly.
2003-04-18 11:08:24 +00:00
scw 9c5cceb804 In arm32_vector_init(), if the vector page is ARM_VECTORS_HIGH, make
sure the CPU_CONTROL_VECRELOC bit is set in the cpu control register
before returning.
2003-04-18 10:51:35 +00:00
scw c8ba6cb1b9 - In the various cpu_setup() functions, check if the vector page
is at ARM_VECTORS_HIGH and set CPU_CONTROL_VECRELOC if so.

- Don't de-ref a NULL args pointer in parse_cpu_options().
2003-04-18 10:45:23 +00:00
jdolecek b7b5aac957 change PROCFS_FILENO() to use 5 bits for 'type', since there are more than
16 types nowadays (i.e. Pfd is 17)
2003-04-18 10:00:19 +00:00
is dc7d5edb51 fix fatal typo 2003-04-18 09:23:17 +00:00
is 4549723d92 iszthreepa() takes a physical address, not a virtual address.
This fixes PR 19175, reported and heavily debugged by Pawel Chwalowski.
2003-04-18 09:18:19 +00:00
scw c6c94cfec3 Make sure _bus_dmamap_load_mbuf() converts cpu-relative addresses
to bus-relative addresses.

Spotted by John Gordon, on port-powerpc@.
2003-04-18 09:16:05 +00:00
thorpej 860e1121cf Add /dev/power (part of sysmon). 2003-04-18 06:00:46 +00:00
thorpej 0ea6c3867d Add /etc/powerd/scripts/power_button 2003-04-18 05:42:52 +00:00
thorpej 8332742ea3 Add powerd rc.d script and configuration scripts. 2003-04-18 05:42:04 +00:00
thorpej 3449ccac0f Install powerd(8) scripts when installing etc files. 2003-04-18 05:41:47 +00:00
thorpej e45c396415 Add a default power_button script for powerd(8). 2003-04-18 05:40:06 +00:00
thorpej 324cf4c7d6 Add /etc/rc.d/powerd. 2003-04-18 05:38:40 +00:00
gmcgarry 25ab7bf52b Build manpage. 2003-04-18 05:32:37 +00:00
gmcgarry dcc55b6153 arm32 -> acorn32 fallout 2003-04-18 05:23:38 +00:00
thorpej 7fcb5daedb Add defaults for powerd(8). 2003-04-18 05:21:20 +00:00
thorpej 71e3ac911d Add /etc/rc.d/powerd 2003-04-18 05:19:59 +00:00
thorpej f0150db8f2 Add an rc script for powerd(8). 2003-04-18 05:19:35 +00:00
gmcgarry 6da12b12c0 arm32 -> acorn32 2003-04-18 05:17:28 +00:00
thorpej d56213af86 Add /etc/powerd and /etc/powerd/scripts. 2003-04-18 05:15:48 +00:00
thorpej 7591178b00 Create /etc/powerd and /etc/powerd/scripts. 2003-04-18 05:15:29 +00:00
thorpej 9a567ab38d Add powerd(8). 2003-04-18 05:02:07 +00:00
thorpej 834d7f0ae7 Add /usr/sbin/powerd 2003-04-18 05:00:25 +00:00
thorpej 9b6e3d2e91 Add <sys/power.h>. 2003-04-18 04:56:58 +00:00
thorpej 77923a9ba6 Build powerd. 2003-04-18 04:55:54 +00:00
thorpej 539625c024 Power management daemon for sysmon. Currently supports acting on
power switch state change events.
2003-04-18 04:54:49 +00:00
explorer 2248468d68 add my 80 GB SATA drive to the quirk table. 2003-04-18 04:32:19 +00:00
lukem ef83aa34d9 clear errno before strto(u)l() if we're going to test it for ERANGE afterwards 2003-04-18 03:21:00 +00:00
thorpej 5a20f4be3c * Add a generic power management event API, defined in <sys/power.h>.
Right now, only power switch state change events are supported.  This
  is a work-in-progress.
* Add support to sysmon for delivering power mangement events to userland.
  Add poll, kqueue, and read entry points to sysmon.
* Adapt ACPI to use the new generic <sys/power.h> event types.

This provides the kernel support for a forthcoming powerd(8) which can
do nice things like gracefully shut the system down when an ACPI power
button is pressed.
2003-04-18 01:31:34 +00:00
simonb 3a00c85d38 Add a KASSERT to make sure that "sizeof(struct mbuf)" is MSIZE.
Extra insurance for Steve Woodford's recent <sys/mbuf.h> patch.
2003-04-18 01:24:20 +00:00