dsl
803fec88b2
Use NETBSD32PTR64() and NETBSD32PTR32() throughout.
2007-03-16 22:23:30 +00:00
dsl
a065e51621
remove all the double (and triple) casts used to convert 32bit userspace
...
pointers to and from 64bit kernel pointers. Instead use the defines
NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64)
to write a 32bit pointer throughout.
The 32bit pointer is now a struct to enforce the above.
amd64 (with linux emul) and sparc64 will both compile (when the arch stuff
goes in soon), and amd64 still runs some i386 binaries.
2007-03-16 22:21:40 +00:00
matt
0cc8f96491
Use MD_DO_NOT_NEED_FALLTHRU
2007-03-16 22:20:50 +00:00
matt
e43d142e40
Steal code from tc-sparc.[ch] to implement a vax specific "cons" routine.
...
Add a %pcrel{32,16,8}(exp) special which emit a PC32 relocation to exp.
This will be used by the gcc dwarf code to generic .eh_frame sections which
are read-only and can be put in the text PT_LOAD.
2007-03-16 22:16:12 +00:00
matt
02f41de9c1
Don't emit PLT entries for PC32 entries not in a code section.
...
Don't emit PC32 relocations in shared libraries if the relocation is not in
a section with the CODE attribute. (This is for DWARF2).
2007-03-16 22:12:11 +00:00
bad
ae77ae0ca1
Recent versions of mkisofs (I've tested starting with cdrtools-2.01.01a20)
...
can't find the el-torito boot image with the old syntax. This can be
fixed by removed the leading "i386/" from the -b argument, but then
the mkisofs from the current cdrtools-2.01 package won't find the boot image.
Change the graf-point specifications so that a trailing / terminates
the grafted directories. This way both versions of mkisofs can find the
boot loader.
2007-03-16 21:12:17 +00:00
xtraeme
868ef0036d
struct cpu_info: add a ci_feature2_flags member.
...
identcpu: print extended cpuid features with ci_feature2_flags.
"Looks good" by christos and njoly.
2007-03-16 18:52:03 +00:00
tsutsui
ecde337fba
Bump MAXBSIZE to 0x4000 because 16KB could be used by default
...
on newfs(8) in these days and we'll get "buf mem pool index 5" panic
in sys/kern/vfs_bio.c.
2007-03-16 18:39:21 +00:00
uwe
a4c73117e3
Cosmetic changes in {sh3,sh4}_switch_setup to make them easier to read.
...
Same object code is generated.
2007-03-16 18:31:36 +00:00
tsutsui
2f7615dcc1
Fix compile with options DIAGNOSTIC.
...
(Hmm, no one has tried it since nathanw_sa merge..)
2007-03-16 18:29:35 +00:00
uwe
66f80b8d65
There's no sense in duplicating function prototype in preceding comments.
...
While here, make ANSI'fy idle() definition.
2007-03-16 18:20:40 +00:00
tsutsui
ba9ffe28c4
Pass proper args to ksyms_init().
2007-03-16 12:12:14 +00:00
pooka
9aca91baa1
use puffs_addvtype2mode() in puffs_fuse_node_mknod()
2007-03-16 08:17:36 +00:00
pooka
2df275c4cd
va->va_mode doesn't contain the full argument to the mknod() system call,
...
so introduce puffs_addvtype2mode() and use that in null.c to generate the
proper syscall argument
2007-03-16 08:14:49 +00:00
skrll
108c9e1aa3
Move a comment and correct a typo.
2007-03-16 08:02:49 +00:00
skrll
25a1cb4e5b
G/C some HAVE_GCC == 3 stuff
2007-03-16 08:01:05 +00:00
pooka
b93b025715
return errno instead of -1 if file is not present in lookup
2007-03-16 07:43:14 +00:00
xtraeme
83cb0f0a96
Remove __P(), remove k8_powernow_init proto... it was moved to
...
x86/include/powernow.h long time ago.
2007-03-16 06:20:36 +00:00
ober
9a950d3d87
Updating GENERIC to include bpfilter to allow dhclient to work.
...
Also enable LFS which appears to work well so far.
2007-03-16 04:44:12 +00:00
uwe
ee31aeeb82
Use dt to loop over md_upte in sh3_vector_tlbmiss. Saves a few instructions.
2007-03-16 04:22:22 +00:00
uwe
7233c378a1
Comment proc_trampoline properly.
2007-03-16 02:27:16 +00:00
uwe
c67ce65c70
L_MD_PCB and L_MD_UPTE are small enough to be used as immediate values.
2007-03-16 01:30:56 +00:00
enami
f1787e0a5d
- Make -DINTREE works again.
...
- Compare test results with diff -w rather than cmp as we won't care about
whitespace diffrences of df output.
2007-03-16 01:29:40 +00:00
wrstuden
f094fdf1e6
While it was nice to re-add the html documentation for ntp,
...
the comment line had never been removed. Thus adding a
second one was not correct.
Keep the nicer-looking one and remove the newer one. build.sh syspkg
now completes for me.
2007-03-16 00:55:43 +00:00
gdt
bb7ff76312
Refer to the location where TCP-relevant sysctl variables are
...
documented as sysctl(7) rather than sysctl(3). (Section 3 describes
C-level functions to access variables, and 7 lists variables along
with their meaning.)
2007-03-15 23:43:18 +00:00
dyoung
ab751193cc
Don't open-code TAILQ_FOREACH(). KNF: Fix K&R prototypes and
...
parameter-type declarations.
2007-03-15 23:39:51 +00:00
dyoung
833cc39940
In nd6_lookup, shorten a staircase. KNF: change return (expr); to
...
return expr; throughout. Fix K&R prototypes and parameter type
declarations.
2007-03-15 23:35:25 +00:00
dyoung
f1c68f17f4
Bark if we cannot assign a link-local address. While I am here,
...
fix the grammar in a comment.
2007-03-15 23:26:04 +00:00
dyoung
e75050de27
KNF: compare pointer w/ NULL, don't "check truth". Fix K&R parameter
...
types declaration.
2007-03-15 23:22:30 +00:00
uwe
1edd00232c
Comment sh3_vector_tlbmiss. Same object code is generated.
2007-03-15 23:13:59 +00:00
skrll
335ac44f76
Restore previous semantics of PT_LWPINFO and make sure to lwp_addref the
...
LWP.
OK'ed by ad.
2007-03-15 20:55:15 +00:00
plunky
298d20388c
remove C++ style comments
2007-03-15 19:47:50 +00:00
wiz
c192a5db61
Mention AZALIA_DEBUG option.
2007-03-15 19:15:19 +00:00
matt
549524f84f
Deal with MKPICLIB != no.
2007-03-15 17:27:15 +00:00
dogcow
0bb5e8a5a4
Comment out VGA_RASTEROPS; even the fine manpage says that it's deprecated
...
in favor of wscons(4).
2007-03-15 17:06:17 +00:00
dogcow
d515e7b784
Some delicious copypasta from sys/dev/ic/vga.c, so that unichromefb will
...
compile (and possibly work) when option VGA_RASTERCONSOLE is present.
2007-03-15 16:58:36 +00:00
ad
1b83cbc3d6
sodopendfreel: Getting a bit over ambitious.. Go to splvm() before calling
...
pool_cache_put().
2007-03-15 16:28:31 +00:00
ad
30a3230b81
Document the ipl argument to pool_init.
2007-03-15 16:02:40 +00:00
drochner
82d96e1fac
Keep track of the per-port status change notifications coming in
...
through the interrupt pipe; during exploration check only the ports
where we got such a notification. This speeds up things.
(I believe we should go a step further and use a thread per hub
instead of per bus. If power management gets implemented, we should
be able to react quickly on a resume event.)
Try to simplify the logics in the explore function a bit. (The reattach
thing was hacked in badly, not sure whether I broke it. Only used
by if_atu.)
Clean up some dead code.
2007-03-15 15:29:09 +00:00
drochner
dc9d1127cc
kill the private submatch function, use the generic one
2007-03-15 15:11:54 +00:00
drochner
f59858473f
in usbd_set_config_index, range-check the index
2007-03-15 15:11:19 +00:00
vanhu
a270a7afb9
From Yves-Alexis Perez: enable monitoring of ipv6 address changes on Linux.
2007-03-15 14:12:12 +00:00
vanhu
7a26f531db
enable monitoring of ipv6 addresse changes on linux
2007-03-15 14:12:11 +00:00
vanhu
0fca99dc2f
Consider a negociation timeout when retry_counter is <=0 instead of < 0
2007-03-15 10:37:44 +00:00
reinoud
46b0abdb74
Note the new reinoud-bufcleanup branch and its goals. no ETA known nor a
...
fully worked out plan of action yet.
2007-03-15 02:36:27 +00:00
uwe
eae42fb475
Arrange for data blocks to start on 32B cache line boundary.
2007-03-15 01:54:18 +00:00
matt
e92466d560
Don't modify CSHPICFLAGS. (this causes .so file to be made when they shouldn't)
...
if MKPICLIB is "no", change CPPPICFLAGS otherwise add change CPPFLAGS
2007-03-15 00:59:32 +00:00
xtraeme
f92cdd8cb5
Remove previous item...
2007-03-15 00:36:52 +00:00
xtraeme
3f5d332ca6
Ok... there were people really angry with this, backing it out.
2007-03-15 00:28:57 +00:00
xtraeme
3e5799ac62
Note addition of the new p4tcc driver.
2007-03-15 00:07:55 +00:00