tsutsui
6fa76b3b92
No need to include <dev/ic/mk48txxreg.h> here.
2003-11-01 22:42:23 +00:00
tsutsui
614e6d4de9
Cleanup MI mk48txx(4) todclock driver:
...
- Prepare mk48txxvar.h and leave only register definitions in mk48txxreg.h.
- Define struct mk48txx_softc as usual devices and allocate necessary
members like struct todr_chip_handle in it.
- Change mk48txx_attach(), mk48txx_nvwr() and mk48txx_nvrd() to take
struct mk48txx_softc.
2003-11-01 22:41:42 +00:00
tsutsui
ab09fdd80e
Rename flag NO_CENTURY_ADJUST -> MC146818_NO_CENT_ADJUST to avoid conflicts.
2003-11-01 21:58:43 +00:00
mycroft
31806f9f22
One more spot for a structure change.
2003-11-01 20:58:33 +00:00
scw
f557964d0c
Quell an uninitialised variable warning.
2003-11-01 20:04:57 +00:00
yamt
142a2d4058
- update uvm_map::size fewer places.
...
- add related assertions.
2003-11-01 19:56:09 +00:00
yamt
c45bf442f2
commit rest of the previous (rbtree).
...
(i should check .rej files before commit, sorry)
2003-11-01 19:45:13 +00:00
yamt
64f5a4d263
make this compilable again with ACPI_DEBUG.
2003-11-01 19:24:42 +00:00
tsutsui
c747a93798
Count necpb interrupts with evcnt(9).
2003-11-01 19:23:52 +00:00
he
4318508981
'rd' under 'all' should be 'rd2', so make it so.
2003-11-01 19:02:54 +00:00
provos
c224a63428
use fdremove to remove kqueue file descriptor so that bitmap information
...
is maintained correctly; found by Juergen Hannken-Illjes
2003-11-01 18:47:16 +00:00
wiz
e0d8e46808
KNF: sort includes.
2003-11-01 18:42:00 +00:00
manu
bb7e6443cb
Remove all our real devices from the IOKit registry, as they won't be
...
usefull. Emulate only IOHIDSystem, IOFramebuffer and friends in the
registry.
ioreg is able to display the tree and dump the properties.
2003-11-01 18:41:25 +00:00
wiz
a2307c7caf
eg -> e.g., vinum -> Xr vinum 4.
2003-11-01 18:38:59 +00:00
matt
1dc67abbb1
Compile at -O2. Fix various GCC3-isms
...
XXX mem.c still fails to assemble.
2003-11-01 18:23:37 +00:00
jdolecek
8f8952e2b1
add a macro to copy ksiginfo_t, and use it in kern_sig.c:ksiginfo_put()
...
change suggested by Christian Limpach
2003-11-01 17:59:57 +00:00
tsutsui
518c5a2e6a
Fix an uninitialized warning.
2003-11-01 17:48:20 +00:00
dsl
4302f2798d
Use fstat(2) to get the partition size (falling back to the label on old
...
kernels) so that newfs works on vinum (and similar).
Kill the -V hack for vinum.
Don't bother faking up a label for -F and mfs, nothing is needed from it.
Ignore label if special doesn't match DISKPART(sb.st_rdev);
Simplifly logic for default block/frag sizes.
Update man page to match.
WARNS=3.
2003-11-01 17:43:03 +00:00
jdolecek
3abecdb88d
avoid stong words in comments
2003-11-01 17:35:42 +00:00
he
d800494086
Based on the historic hp300 pmap, initialize firstpage to TRUE, and
...
negate that after processing the first page.
2003-11-01 17:16:30 +00:00
jdolecek
467746e275
avoid strong words; use 'screw' instead
2003-11-01 17:00:49 +00:00
cl
5d2db86263
cleanup whitespace and debugging output
2003-11-01 15:36:35 +00:00
he
22c1eedd0c
Initialize needcflush to FALSE in pmap_do_remove().
2003-11-01 15:32:47 +00:00
yamt
fe3e5aa0b8
as we know PTPs are zero-filled when being freed,
...
mark them PG_ZERO so that they'll be used to serve UVM_PGA_ZERO requests.
2003-11-01 15:21:02 +00:00
yamt
d6dc30aeba
in uvm_pagefree and friends, if freed pages have been marked by
...
PG_ZERO flag, put them to PGFL_ZEROS queue rather than default one
so that we can re-use zero-filled pages efficiently.
2003-11-01 15:18:42 +00:00
yamt
e36739df67
use explicit "l" suffixes.
...
(xor -> xorl)
2003-11-01 15:14:27 +00:00
tsutsui
fe1d71458c
- Flush cache only if mips_sdcache_line_size == 0 in pmap_copy_page() when
...
options MIPS3_L2CACHE_ABSENT is defined.
- Fix comments following #endif for MIPS3_L2CACHE_ABSENT.
2003-11-01 14:48:16 +00:00
nakayama
8fc6819ddd
Corrent map order to match sparc/ieeefp.h.
2003-11-01 14:26:29 +00:00
jdolecek
c12a055f27
g/c index.c and rindex.c (not used anywhere)
2003-11-01 13:17:01 +00:00
jdolecek
d944bca949
rename local index() to strchr()
2003-11-01 13:02:04 +00:00
jdolecek
917bc10805
g/c local index() routine and switch to (libkern's) strchr()
2003-11-01 12:56:32 +00:00
jdolecek
0ce8029b4c
shutup one bogus -Wunitialized warning, and fix one correct
...
XXX parrw() routine looks like not actually correct for transfers
XXX larger than sc_burst - someone with the hardware should check & fix this
2003-11-01 12:53:33 +00:00
jdolecek
ca2d6f9331
drop register qualifiers
2003-11-01 12:43:30 +00:00
jdolecek
8064ffcedd
fix several places where variables might be used uninitialized
2003-11-01 12:41:59 +00:00
jdolecek
aae2faadc5
the storagesize parameter of extent_create() is a size_t, not a pointer
2003-11-01 12:21:14 +00:00
jdolecek
5a088df3e8
mem_exists(): pacify one apparently bogus -Wuninitialized warning
...
setmemrange(): add default case for cputype (same as CPU_68030), to fix
a potential uninitialized use
2003-11-01 12:18:55 +00:00
jdolecek
b1686553ae
drop register qualifiers
2003-11-01 11:50:53 +00:00
jdolecek
a51175c327
fix potential use of uninitialized local variable 'error'
2003-11-01 11:44:46 +00:00
yamt
57e554da69
track map entries and free spaces using red-black tree
...
to improve scalability of operations on the map.
originally done by Niels Provos for OpenBSD.
tweaked for NetBSD by me with some advices from enami tsugutomo.
discussed on tech-kern@ and tech-perform@.
2003-11-01 11:09:02 +00:00
mycroft
efe8779bb3
Provide percentages for the threshold values too.
2003-11-01 10:55:12 +00:00
yamt
922ad03e28
don't try to lookup addresses out of the map in uvm_coredump_walkmap().
2003-11-01 10:43:27 +00:00
mycroft
7be875cdd8
Whoops, made a typo there.
2003-11-01 10:25:35 +00:00
mycroft
cf1951c350
Split "load" into "charge rate" and "discharge rate", depending on the state
...
of the battery.
2003-11-01 10:24:17 +00:00
tron
f7d7184912
Apply various fixed supplied by Thomas Dickey in private e-mail.
...
The changes were reviewed by Julian Coleman.
2003-11-01 10:16:28 +00:00
tsutsui
ac30bfe8d4
Remove nonexistent arch/pmax/pmax/mcclock.c. (pmax uses dev/dec/mcclock.c)
2003-11-01 09:52:19 +00:00
mycroft
5c001506f5
Small change to use the "last full capacity" as the capacity maximum.
2003-11-01 09:49:45 +00:00
mycroft
007e2cd3b4
There's no need to clear the data_s fields now that the VALID bits are correct.
2003-11-01 09:41:25 +00:00
yamt
f41e60e6a0
as there shouldn't be any mappings when pmap_destroy() is called,
...
assert there is no remaining PTPs at that point.
2003-11-01 09:07:11 +00:00
mycroft
be8e41d93a
sc_lockhandle is garbage.
2003-11-01 08:34:54 +00:00
mycroft
10e36668fc
Remove an unnecessary call to AcpiGlearGpe().
2003-11-01 08:27:37 +00:00