he
ed6e54f4b5
Get rid of the tests with (now) empty bodies, instead just ignore the
...
return value from sysctl().
2006-10-23 22:42:33 +00:00
he
c0c38b0bb7
Complete the initializers.
2006-10-23 22:41:51 +00:00
skrll
e90404b342
- mbus_dmamap_create: remove a redundant local.
...
- mbus_dmamap_sync: restructure/simplify code and add our our version of
sync_caches that does sync; syncdma; sync. This is now smaller as a
result.
2006-10-23 21:58:52 +00:00
christos
d0545a9b43
nuke $DBG, since it contains -O2; suggested by uwe.
2006-10-23 21:57:46 +00:00
skrll
bce47ca120
Remove chooselwp - it doesn't exist.
2006-10-23 21:39:18 +00:00
christos
3380fe7daf
shrink further.
2006-10-23 21:36:47 +00:00
peter
157373e263
Fix a typo.
2006-10-23 21:21:49 +00:00
peter
065f269794
Mention timecounter support and MI todr(9) on hpcarm.
2006-10-23 21:15:23 +00:00
uwe
d8092bae40
Kill get_ascii and its alternative format, it's not very useful. We'd
...
better use it for something else later. I'm also thinking of g/c'ing
the temp buffer and emit disassembly with db_printf direcly, and
get_ascii gets in the way.
2006-10-23 21:13:00 +00:00
peter
4c87aba921
Enable MI todr(9) and timecounter on hpcarm.
2006-10-23 21:12:42 +00:00
jdolecek
d1de60425b
fix check for field order to allow .0 form in "-k 1.2,1.0"
...
fix provided in PR bin/25572 by Ross Patterson
2006-10-23 20:36:17 +00:00
jdolecek
a2e8970e19
when using -o into file which already exists, copy the permissions
...
of the original file to the new (sorted) file
adresses PR bin/26860 by Michael van Elst
2006-10-23 19:53:25 +00:00
christos
f2640eb139
simplify 421 printing code (jani at xeebioneurope dot de)
2006-10-23 19:53:24 +00:00
he
8a7e351ffd
Constify, since the new gcc propagates constness to struct members.
2006-10-23 19:49:47 +00:00
he
6e75ae6383
Complete initializers, and correctly order "static" relative to "const",
...
i.e. at the front.
2006-10-23 19:45:56 +00:00
he
59ed5b6d63
Correctly order "static" relative to "const" and "volatile", i.e.
...
at the front (at least that's what gcc thinks...).
2006-10-23 19:44:57 +00:00
christos
d1a5b782c3
buf can never be NULL (jani at xeebioneurope dot de)
2006-10-23 19:44:32 +00:00
jdolecek
bfa086e40a
replace access(2) + /dev/ prefix check with lstat(2) and S_ISCHR()/S_ISBLK()
...
part of PR bin/26860 by Michael van Elst
while here, put output file fopen() inside the code block of the
only code path where it's actually needed, to make the logic more obvious;
and in the "stdout" case, initialize toutpath to empty string rather
then /dev/stdout, to make it clear /dev/stdout is not actually used
2006-10-23 19:39:54 +00:00
he
d59cb8e7b8
Fully initialize the last element of menu_def[].
2006-10-23 19:29:48 +00:00
uwe
9287c88e77
Const-poision. While here, rename the argument s/code/pc/.
2006-10-23 19:28:07 +00:00
jdolecek
165c6691e1
use F_OK instead of 0 for second parameter of access(2)
...
part of PR bin/26860 by Michael van Elst
2006-10-23 19:11:46 +00:00
he
8d51656fd4
Const-ness is now (by the new gcc) propagated from structs to
...
members, so constify so as to not lose qualification.
2006-10-23 18:58:24 +00:00
uwe
351eae3599
Be careful when fetching instruction to disassemble. Check for
...
unalinged address, refuse to disassemble P4 area (on-chip i/o regs),
use fusword/kcopy to fetch the instruction.
2006-10-23 18:33:56 +00:00
christos
f1aa39b33c
deal with machines where char is unsigned and with chars > 127
2006-10-23 18:22:00 +00:00
elad
af94ee3081
PR/34888: Nicolas Joly: kernel panic while trying to access
...
/emul/linux/proc/0/stat
Patch applied, thanks for the report!
2006-10-23 18:19:14 +00:00
gson
3b3814b873
const correctness
2006-10-23 18:10:44 +00:00
pooka
c643be45eb
dump correct name for vfs operations
2006-10-23 16:53:17 +00:00
uwe
a34468ef57
fu* function should read bytes/shorts as unsigned, so s/exts/extu/
2006-10-23 16:28:51 +00:00
pooka
22ec7067d6
don't allow to read or write a directory
2006-10-23 16:20:39 +00:00
pooka
6ea08fd809
bump the reqstruct minsize to something more believable (but I should
...
really fix this, still)
2006-10-23 16:07:18 +00:00
he
b98baf7a62
Avoid "unsigned < 0" comparison by open-coding the remaining part
...
of the check() macro.
2006-10-23 15:27:41 +00:00
yamt
3342bd892a
cpu_dumpconf: oops, redo the previous correctly.
2006-10-23 15:15:52 +00:00
yamt
7eadca1ca8
fix parenthesis mismatch in 1.197. (hi mrg)
2006-10-23 15:08:20 +00:00
skrll
21f8bf16fc
KNF and comment update.
2006-10-23 14:15:09 +00:00
rillig
5968766094
open(2) can fail with EPERM.
2006-10-23 14:04:05 +00:00
yamt
5239dc5a67
qc_init: fix a problem introduced by rev.1.13.
...
namely, use quantum-size alignment rather than no alignment.
PR/34879 from Peter Postma.
2006-10-23 13:36:33 +00:00
pooka
e4ae558e9d
fix print in VOP_PRINT
...
also make it compile on amd64. problem noticed by Blair Sadewitz
on current-users
2006-10-23 12:21:39 +00:00
pooka
9739aee84d
apply const where necessary
2006-10-23 12:11:47 +00:00
elad
c2da5d160e
PR/34873: Ryo Shimizu: sendmsg() can cause kernel panic
...
Patch applied, thanks!
2006-10-23 10:37:22 +00:00
mrg
e1850e2121
regenerate mknative-gcc files for GCC 4.1-20061021.
2006-10-23 07:01:19 +00:00
kiyohara
6920dbe4f2
Define BASE_ISA macro for ISA window base address (where pckbc, com, lpt live)
...
instead of hardcoding the constant or (even before) using BASE_COM.
2006-10-23 06:49:17 +00:00
mrg
dbdbfa2c22
since register_t is sometimes unsigned, cast to (long) to check >= 0.
2006-10-23 04:13:51 +00:00
mrg
7d429c305a
use c99 initialisers.
2006-10-23 03:56:38 +00:00
pooka
27168fd0cc
llib-puffs.ln
2006-10-23 03:23:53 +00:00
pooka
599a6bbb6c
libpuffs_pic.a
2006-10-23 03:21:21 +00:00
mrg
6bb0c03185
use casts to properly truncate some assignments. (sparc64 gcc complained.)
2006-10-23 03:18:30 +00:00
christos
d6a795f6a8
put back the comparison in a lint friendly way to appease pooka.
2006-10-23 03:13:13 +00:00
dogcow
acba3dfe4b
comment out comparison of unsigned expression to >= 0
2006-10-23 03:11:53 +00:00
christos
7ef97c92be
use portable prints
2006-10-23 03:10:09 +00:00
pooka
594365ca6f
puffs integration
2006-10-23 01:54:54 +00:00