jdolecek
de9c76a3b0
add appropriate sys_nosys and nsysent (not that it matters here too much)
2002-11-01 20:19:29 +00:00
jdolecek
81d274c850
make compile without DEBUG_MACH
2002-11-01 20:04:40 +00:00
jdolecek
e608322a28
regen: bump nsysent to nearest p-o-2 (256)
2002-11-01 19:30:28 +00:00
jdolecek
a0d3a3c03f
bump nsysent to nearest p-o-2
2002-11-01 19:29:21 +00:00
jdolecek
2a9e0afa92
set emul_netbsd's e_nsysent to SYS_NSYSENT, not SYS_MAXSYSCALL
2002-11-01 19:27:05 +00:00
jdolecek
1524c4bf08
set struct emul's nsysent to compat SYS_NSYSENT, not SYS_MAXSYSCALL
2002-11-01 19:26:21 +00:00
thorpej
64a5da6461
Revise previous to xstrdup the basename earlier; an intervening call to
...
basename() was occurring.
Pointed out by Matthias Drochner.
2002-11-01 16:07:37 +00:00
simonb
b9c304a9e0
Pass all three mib items to a sysctl in dkreadstats().
...
Use the new kernel sysctl sizing code to calculate the number of drives.
2002-11-01 15:23:06 +00:00
simonb
307ae1b2e5
When calculating the space needed for the data, use the supplied
...
userland structure size (if passed in).
Use the supplied userland structure size (if passed in) to check if
there is enough room to copyout the next structure.
2002-11-01 15:20:03 +00:00
simonb
c79652b287
Print a newline between lines in -x mode.
2002-11-01 14:02:21 +00:00
mrg
8674f67cf9
note separate r/w disk stats changes.
2002-11-01 12:55:23 +00:00
mrg
514174fe75
disk_unbusy() change -> NetBSD 1.6K.
2002-11-01 12:49:47 +00:00
mrg
3cf4c73d05
iostat(8) and systat(8) support for separate read/write disk statistics.
...
"iostat -x" now shows these (ala linux/solaris), but this is only splitting
the read/write bytes/transactions, not adding any new metrics. "systat
iostat" now has two new commands to switch between combined/separate mode
for both it's numbers & bar modes.
2002-11-01 12:47:55 +00:00
mrg
603098b9b5
implement separate read/write disk statistics:
...
- disk_unbusy() gets a new parameter to tell the IO direction.
- struct disk_sysctl gets 4 new members for read/write bytes/transfers.
when processing hw.diskstats, add the read&write bytes/transfers for
the old combined stats to attempt to keep backwards compatibility.
unfortunately, due to multiple bugs, this will cause new kernels and old
vmstat/iostat/systat programs to fail. however, the next time this is
change it will not fail again.
this is just the kernel portion.
2002-11-01 11:31:50 +00:00
jdolecek
c28aaab16a
don't assume intptr_t is 'long', and cast the value appropriately
2002-11-01 09:49:47 +00:00
simonb
6971634c5e
Destroy "ioext" as well as "memext" when we're done with it.
2002-11-01 09:16:28 +00:00
enami
d1c7d5dcae
Cope with intr.h of rev. 1.29 to prevent panic when DEBUG is defined;
...
since splsched() now raises system priority level just to IPL_SCHED,
we can't assert that current priority level is IPL_HIGH on cpu_switch.
2002-11-01 06:06:17 +00:00
enami
68c7a9fc3f
Pass an argument to panic() correctly.
2002-11-01 05:49:01 +00:00
simonb
3338dd4bd0
Fix fallout from gehenna-devsw merge.
2002-11-01 05:47:23 +00:00
enami
fc1c4219ef
Make this works with QUEUEDEBUG defined; don't use queue pointer after
...
removing an element from queue.
2002-11-01 03:34:07 +00:00
enami
5eec77bccd
Cosmetic changes.
2002-11-01 03:32:21 +00:00
fvdl
4244ef3b22
For INTERLOCK_ACQUIRE, s/splsched/spllock/.
2002-11-01 01:13:32 +00:00
fvdl
5fca9b943c
Make splsched == splclock, and splserial > splsched. Unfortunately,
...
we have to retain the 'pick unlocked interrupt handler' hack for
the MP case for now.
2002-11-01 01:12:43 +00:00
matt
71416f6690
In struct emul, e_nsysent is *not* initialized to *SYS_NSYSENT but
...
*SYS_MAXSYSCALL. Adjust to this and simply compare 'code' to it instead
of doing the p-o-2 dance.
2002-11-01 00:02:40 +00:00
thorpej
f8b18efd0c
xstrdup the return value of basename() before recording it in the bfd
...
with bfd_elf_set_dt_needed_soname(). Fixes the "NEEDED crtend.o"
problem reported on tech-toolchain/current-users.
Problem spotted by Ryo HAYASAKA <ryoh@jaist.ac.jp>.
2002-10-31 23:21:17 +00:00
itojun
8b5e86873c
typo, reported by avsm@openbsd
2002-10-31 23:01:27 +00:00
jdolecek
f7d9e82965
constify trap_type[]
2002-10-31 22:32:40 +00:00
jdolecek
b56a7c4e6b
update trap_type[] according to include/trap.h contents
2002-10-31 22:24:42 +00:00
matt
8b4993db5d
Convert to register prefixes. Use ANSI string concatenation for
...
multiline asm strings.
2002-10-31 21:31:08 +00:00
matt
01ba93bc3c
Convert to register prefixes.
2002-10-31 20:23:25 +00:00
itojun
ad337ee31a
plug a memory leak. from sam leffler. sync w/kame
2002-10-31 17:36:16 +00:00
wrstuden
5b0a9938fd
Use signed char to replace int8_t, not just char. Should fix macppc
...
cross-build problems introduced in rev 1.59.
Pointed out by Valeriy E. Ushakov uwe at ptc dot spbu dot ru on
tech-toolchain.
2002-10-31 17:14:46 +00:00
wiz
471dfb05bc
regen (veriexec).
2002-10-31 15:35:28 +00:00
scw
f8647e7e3c
Make interrupt routing work for PCI slots 2 and 3.
2002-10-31 14:54:37 +00:00
scw
bc159224ed
Missing newline.
2002-10-31 14:52:54 +00:00
scw
78aeffb90b
Add an explicit ULL suffix to a 64-bit constant to appease gcc-current.
2002-10-31 14:52:30 +00:00
scw
3795c4e6f4
Since we keep a list of all mappings for a given physical page (even
...
unmanaged mappings) so we can deal with cache aliases, make sure to
skip unmanaged/wired mappings (added via pmap_kenter_pa()) when doing
things like pmap_page_protect().
2002-10-31 14:34:17 +00:00
scw
6a3f09110b
Catch NMIs when DDB is defined, instead of DEBUG.
...
Drop the interrupt level to zero when before handling ASTs in the
exit path of h/w interrupts.
2002-10-31 14:24:16 +00:00
scw
8bf915f645
When setting the SP for a process, copy the same value to the
...
process' FP for the sake of consistency.
2002-10-31 14:20:39 +00:00
martin
8ab4396fef
Rearange struct mach64screen to be derived from struct rasops_info,
...
move a few bits around and make adding screens after attach time
actually work.
When not booting as console, try to properly set up the hardware to
get a display nevertheless (XXX - does not yet work on my U5).
#if 0 some unused functions planned for future extensions (to make clear
they are unused now)
2002-10-31 14:10:07 +00:00
junyoung
c6326ab133
Now VGA_CONSOLE_SCREENTYPE can be specified with VGA_RASTERCONSOLE.
...
Currently only 80x25 and 80x30 modes are supported.
2002-10-31 13:06:50 +00:00
junyoung
78e97058d5
Simplify vga_raster_setscreentype() and clean up code.
2002-10-31 11:05:25 +00:00
ichiro
c0c620567a
regen
2002-10-31 10:40:19 +00:00
ichiro
5cbc05430b
add WLI-USB-KS11G USB wlan adapter
2002-10-31 10:36:42 +00:00
petrov
664489a4cb
follow-up rpcgen changes.
2002-10-31 08:39:13 +00:00
wiz
30d6695239
Comment out cross-references to man pages that don't exist.
...
Closes PR 18862 by rtr at wasabisystems com.
2002-10-31 02:51:06 +00:00
christos
e6535bf628
XXX: be32toh on powerpc does not cast to int32_t so passing u_long to
...
be32toh produces an unsigned long result, causing a printf argument
mismatch. This is the wrong fix, but I am not going to change the
powerpc macros; fix the powerpc macros and revert my change.
2002-10-31 02:40:41 +00:00
christos
277101f13c
PR/18866: David A. Holland: missing const keyword in rpcgen output
2002-10-31 02:05:35 +00:00
christos
905b699ab7
support for % command [matching parens/brackets/braces] on vi modes.
...
From David Laight, thanks!
2002-10-31 02:01:46 +00:00
manu
293419f314
int format long arg problems
2002-10-30 23:08:00 +00:00