Commit Graph

120377 Commits

Author SHA1 Message Date
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
mycroft
b596969039 Correct arguments to AcpiClearGpe(). 2003-11-01 08:14:39 +00:00
mycroft
ff9f7d764c Do not install address handlers before calling AcpiEnableSubsystem() -- this
is done by AcpiInitializeObjects() anyway.
2003-11-01 08:03:24 +00:00
jdolecek
0b33ae64cb in sigtimedwait(), use malloc(9)ed (and thus wired) memory for the waitset
we pass via sigctx, so that it guaranteed that the memory wouldn't be
paged out at the time the signal arrives

potential problem pointed out by YAMAMOTO Takashi
2003-11-01 07:44:14 +00:00
christos
ddb8b44bce include opt_malloclog.h 2003-11-01 07:07:31 +00:00
christos
d7f9038062 Add MALLOCLOG 2003-11-01 06:50:13 +00:00
sekiya
4f800421dd Use be*toh() and htobe*() to permit use in cross-build environments. Add -h flag to override default volume header size. 2003-11-01 06:30:44 +00:00
shin
70f5a0a5b2 cache_r10k.c rev. 1.1 is broken. Because,
1) R10k uses VA0 to select cache ways, but in rev. 1.1, VA14
	   is used instead.
	2) R10k does not support HitWriteBack and should map HitWriteBack
	   to HitWriteBackInvalidate, but in rev. 1.1, HitWriteBack is not
	   handled properly.

So, cache_r10k.c rev. 1.1 was replaced by new implementation.
2003-11-01 04:42:56 +00:00
mycroft
6831bfd482 Remove some unused #defines. 2003-11-01 03:45:58 +00:00