Commit Graph

204766 Commits

Author SHA1 Message Date
joerg
f796930c37 static + ANSIfy + __dead 2011-08-30 20:42:22 +00:00
joerg
2d6640c450 static + __dead 2011-08-30 20:33:30 +00:00
joerg
fedff36094 ANSIFy + static + __dead 2011-08-30 20:29:41 +00:00
joerg
76d8a55bb7 static + __printflike + __dead 2011-08-30 20:25:18 +00:00
joerg
9b838647dd Fast backward code to 1989 and use ANSI C consistently. Use __dead. 2011-08-30 20:17:00 +00:00
joerg
7e8db9e768 static + __dead 2011-08-30 20:08:38 +00:00
joerg
8138b1d050 static + ANSIfy + __dead 2011-08-30 20:07:31 +00:00
joerg
e50af0f5ca static + __printflike + __dead + format string fixes 2011-08-30 20:03:50 +00:00
joerg
428b619bde ANSIfy. Use __dead. 2011-08-30 20:00:58 +00:00
joerg
732d96f1f0 ANSIfy + __printflike + __dead 2011-08-30 19:49:10 +00:00
joerg
257a846ab4 static, __printflike, __dead 2011-08-30 19:27:37 +00:00
joerg
2eb6527c5c static + __dead 2011-08-30 19:20:20 +00:00
joerg
7cbacafc54 ANSIfy + __dead 2011-08-30 19:18:17 +00:00
joerg
5f1d0b022e static + __dead 2011-08-30 19:06:06 +00:00
jmcneill
883cb292ab fix -Wshadow warnings when ALTQ is enabled 2011-08-30 19:05:12 +00:00
joerg
6bd0ed17f2 static + __dead 2011-08-30 18:57:38 +00:00
joerg
514310971d Use __dead and __printflike 2011-08-30 18:53:41 +00:00
joerg
7a78feffac static + __dead 2011-08-30 18:50:48 +00:00
joerg
d6ee580bf7 static + __dead 2011-08-30 18:30:13 +00:00
joerg
60f8231589 ANSIfy + static + __dead 2011-08-30 18:28:59 +00:00
joerg
68b3316c6c static + __dead 2011-08-30 18:24:17 +00:00
plunky
76be87e1ac provide a complete prototype for xdrproc_t
(I found no instances where three arguments were actually
used, as per the claim in the comment. If there are any
in third party code then they will need to use a cast)
2011-08-30 17:09:51 +00:00
plunky
87d4f6076b Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
2011-08-30 17:06:20 +00:00
reinoud
829370d0ee Hack to try to help usermode/i386 by setting the EBX register 2011-08-30 16:06:20 +00:00
bouyer
ccc8030189 Provide netbsd32 compat for bpf. Beside the ioctls, the structure
returned to userland by read(2) also needs to be converted.
For this, the bpf descriptor is flagged as compat32 (or not) in the
open and ioctl functions (where the user process's pid is also updated
in the descriptor). When the bpf buffer is filled in, the 32bits or native
header is used depending on the information stored in the descriptor.

This won't work if a 64bit binary does the open and ioctls, and then
exec a 32bit program which will do the read. But this is very
unlikely to happen in real life ...

Tested on i386 and loongson; with these changes my loongson can run
dhclient and tcpdump with a n32 userland.
2011-08-30 14:22:22 +00:00
mbalmer
2afb25b13d Add gpio entries, commented out, since I am working with them as modules atm. 2011-08-30 13:07:30 +00:00
mbalmer
e55d007450 Attach gpio* at gpiobus? instead of at individual drivers. 2011-08-30 13:03:17 +00:00
bouyer
a47e2eb758 Add getlabelusesmbr(), as proposed in
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html
This is used by disk tools such as disklabel(8) to dynamically decide is
the undelyling platform uses a disklabel-in-mbr-partition or not
(instead of using a compile-time list of ports).
getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the
machdep #define LABELUSESMBR.
For evbmips, make LABELUSESMBR 1 if the platform uses pmon
as bootloader, and 0 (the previous value) otherwise.
2011-08-30 12:39:49 +00:00
jmcneill
76898e7685 revert previous 2011-08-30 12:13:25 +00:00
apb
c82b114043 Escape '$' in double quotes. 2011-08-30 12:04:12 +00:00
reinoud
495f43f820 Implement pmap_clear_reference() 2011-08-30 12:02:38 +00:00
reinoud
ba4168da5b Implement pmap_is_referenced() 2011-08-30 11:57:20 +00:00
reinoud
59f6d59a8f Cleanup PV_UNMAGED handling in pmap_do_enter 2011-08-30 11:53:22 +00:00
reinoud
f631470629 Make still unimplemented pmap_protect() more verbose 2011-08-30 11:40:46 +00:00
reinoud
3ffaad9127 Implement pmap_page_protect() 2011-08-30 11:31:57 +00:00
jruoho
456ace79d6 Use more .Nm, offset indent. 2011-08-30 11:24:38 +00:00
reinoud
d3eeac5866 Implement pmap_clear_modify() and pmap_is_modified() 2011-08-30 10:58:41 +00:00
reinoud
6661de3650 Implement pmap_destroy() following Ben Harris's template 2011-08-30 10:44:06 +00:00
reinoud
a2fba41c1f Implement pmap_reference(). Note that i have no idea as to when this reference
is released...
2011-08-30 10:37:42 +00:00
reinoud
c8c7d505af Remove panic that prevented multiple mappings of a pv entry 2011-08-30 10:29:34 +00:00
joerg
5c1014c629 ANSIfy + static + dead. 2011-08-30 10:12:06 +00:00
christos
2b57c17dce in external now. 2011-08-30 10:09:26 +00:00
christos
47a08534f0 in external now 2011-08-30 10:08:11 +00:00
joerg
3bb0bce39d static openinfo. dead, not unused usage. 2011-08-30 10:04:50 +00:00
jruoho
bf4d7cb301 Comment out the legacy bktr(4) from the GENERICs. 2011-08-30 08:01:13 +00:00
macallan
d9554c19b2 support SIOCG80211NWKEY 2011-08-30 07:54:15 +00:00
mbalmer
a356035768 Also mention gpioiic(4). 2011-08-30 07:44:37 +00:00
jruoho
1a007af9ac Clarify that the ATI USB dongle uses XC3028L (and not XC3028). 2011-08-30 07:27:59 +00:00
jruoho
44d221d650 Remove trailing comma. 2011-08-30 07:24:01 +00:00
jruoho
d9f0aab6fe Xref au8522(4) and xc5k(4) in the list of supported cards. 2011-08-30 07:23:05 +00:00