Commit Graph

182863 Commits

Author SHA1 Message Date
dholland bc0970cff2 sprinkle static 2009-08-12 06:19:17 +00:00
dholland 6613b31163 sprinkle static 2009-08-12 06:06:28 +00:00
dholland e0ba63fe83 sprinkle static 2009-08-12 05:48:04 +00:00
dholland f59d107e64 sprinkle static 2009-08-12 05:35:44 +00:00
dholland 43e0d095a0 sprinkle static and prune some dead code 2009-08-12 05:29:40 +00:00
dholland 9795f61a5a sprinkle static 2009-08-12 05:17:57 +00:00
matt 3fbfc25940 If using the N32 ABI, define _BSD_JBSLOT_T as long long. Keep _JBLEN
constant since _BSD_JBSLOT_T will now change in size so _JBLEN doesn't
have to.
2009-08-12 05:12:58 +00:00
matt 21d93aff03 Allow <machine/setjmp.h> to override the type using in jmpbuf. 2009-08-12 04:57:36 +00:00
dholland 24ddf1fdf8 looks as if "ospeed" here was meant to be extern. 2009-08-12 04:51:11 +00:00
dholland 7a2ed76402 sprinkle static 2009-08-12 04:48:03 +00:00
dholland c62bf84c55 sprinkle static 2009-08-12 04:28:27 +00:00
matt a630fd3317 Merge most of the builtin_defines from Linux since they are far superior
to the ones NetBSD has and it allows easier porting.
2009-08-12 02:12:44 +00:00
aymeric 46545ebf5c bump to nb5:
. :ESC works again
. #+ and #- work again
2009-08-11 21:42:03 +00:00
aymeric 7963ec5bf2 . adding STRCHR variants to common/multibyte.h for the benefit of
. making #+ and #- work again in vi/v_increment.c
2009-08-11 21:28:02 +00:00
aymeric b8018f6743 in v_ecl(), copy the converter from the shadow screen initialized in
v_ecl_init(), so that history can be displayed and edited.

Which means, :ESC works again.
2009-08-11 21:24:49 +00:00
snj 8af0e5d28c It's "let's" 2009-08-11 19:15:30 +00:00
snj 384b3bfe6a We use gdb 6.5 these days. 2009-08-11 19:07:33 +00:00
snj c195224d45 Be consistent within this document: Queue -> Queuing. 2009-08-11 19:03:29 +00:00
dsl a245205b96 Change NO_SRCS lines to specify .S in order to exclude the .c file from
SRCS but add it to LSRCS (sort of makes sense!).
2009-08-11 17:30:43 +00:00
dsl 05e1772663 Change (slightly) the way NO_SRCS is processed, update big comment!
Now the .c file is removed from SRCS for both .S and .c in NO_SRSC.
The .c file is added to LSRCS for .S files in NO_SRCS.
(.S files in SRCS have the same treatment - but also get compiled.)
Allows vax build to be fixed.
Also the previous version failed to add to LSRCS correctly.
2009-08-11 17:29:04 +00:00
bouyer 913cd0a8e6 Fix watchdog code:
- the timer bound constants are in tick, so convert period to tick before
  checking it against the bounds
- for ICH5 or older, fix code that would have always written a 0 period
  to the register.
2009-08-11 17:15:32 +00:00
matt b2a95bab1e Remove all declarations of physmem from sys/arch. Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)
2009-08-11 17:04:14 +00:00
matt 4efef68d70 Fix brain fart. physmem was int not long. 2009-08-11 16:27:08 +00:00
matt 6328246ec5 Add back declaration of physmem but use the existing type (long). 2009-08-11 16:07:24 +00:00
simonb 62c3a46af1 Allow console speed to be overriden with "options CONSPEED=xxx".
Default to 115200 (original hard-coded value).
2009-08-11 12:38:24 +00:00
simonb 8ed35a9caa Sync SiByte includes with cfe-1.4.2.
Includes support for bcm1x55 and bcm1x80 chips.
Tested on a BCM1250 board.
2009-08-11 12:34:06 +00:00
haad ced21e5799 Remove physmem definition to uintptr_t from another patch. 2009-08-11 09:16:53 +00:00
matt d67b6305d0 Remove declaration of physmem since uvm_page.c declares it. 2009-08-11 04:46:21 +00:00
cliff 6104be6e13 #ifdef around boot args parsing for now, so won't kill autobooting the gdium 2009-08-11 03:56:34 +00:00
matt 1a88fba588 Use arch/mips/files.bonito 2009-08-11 03:37:26 +00:00
matt 9ca6f3bb04 Fix loongson2 sdcache init. 2009-08-11 02:38:30 +00:00
matt 11fb28275b Use aprint_normal 2009-08-11 02:37:29 +00:00
matt 0afbb53bde Enable DIAGNOSTIC
Add cpu0
2009-08-11 02:36:43 +00:00
matt 94e69ffc25 Disable 2nd PCI Windows @ 8MB 2009-08-11 02:35:15 +00:00
matt 132d224431 Fix mainbus_print and don't pass a NULL name. 2009-08-11 02:32:38 +00:00
matt 54096a5ecc Flush by increasing way, then increasing addr. flush L1 before L2 (even
though according to the specification it should be needed).  Reset
mips_sdcache_size to 0 so we will configure it.
2009-08-11 00:34:29 +00:00
haad b760fc6e71 Add uvm_reclaim_hooks support for reclaiming kernel KVA space and memory.
This is used only by zfs where uvm_reclaim hook is added from arc cache.

Oked ad@.
2009-08-10 23:17:29 +00:00
kiyohara 80d39e70af Remove unused variable powman_ioh.
It is used in GUMSTIX ohci patch.
2009-08-10 23:08:12 +00:00
haad a83da6a90d Enable taskq which was disabled during testing. 2009-08-10 22:55:08 +00:00
haad 15e894922a Add missing header file. 2009-08-10 22:47:09 +00:00
haad 494666162f Rename getline to zgetline to avoid clashes with NetBSD getline.
Problem found by zafer@.
2009-08-10 22:44:41 +00:00
haad 2bd9595b28 Fix number of arguments passed to do_sys_mkdir. 2009-08-10 22:41:51 +00:00
haad 614ae6725c Remove strange looking -I entries. 2009-08-10 22:38:59 +00:00
haad 4c1e749f2d Add some NetBSD fixes which I have forgot to commit during first round.
With these patches I can build solaris and zfs module again.
2009-08-10 22:38:02 +00:00
wiz 7aaf57e150 Bump date for previous. 2009-08-10 22:36:37 +00:00
haad 7c0a6ff12f Add _PC_ACL_EXTENDED and _PC_MIN_HOLE_SIZE which are needed by zfs. 2009-08-10 22:29:29 +00:00
matt 08a391fc42 Add matt-nb5-mips64 branch 2009-08-10 21:27:46 +00:00
plunky 4f6ac13367 reduce the number of KAUTH_DEVICE_BLUETOOTH_SEND/RECV requests
by passing the packet type as an argument rather than having
a different request for each type.

(from a suggestion by mrg)
2009-08-10 20:22:06 +00:00
plunky 80c6ec5db1 remove last usage of KAUTH_ISSUSER in bluetooth code by adding
some requests to the device scope:

	KAUTH_DEVICE_BLUETOOTH_SEND_COMMAND
	KAUTH_DEVICE_BLUETOOTH_RECV_COMMAND
	KAUTH_DEVICE_BLUETOOTH_RECV_EVENT
	KAUTH_DEVICE_BLUETOOTH_RECV_DATA

and a listener tied to the HCI protocol that will approve the basic
minimum to be sent and received.

handle the requests in the bsd44_suser listener by approving all
when the credential is root.
2009-08-10 18:25:20 +00:00
rjs ff83e633bb Add enum uio_seg argument to do_sys_mknod(). 2009-08-10 17:36:00 +00:00