Commit Graph

183268 Commits

Author SHA1 Message Date
dholland
f2a20f5fe4 sprinkle static 2009-08-12 08:04:05 +00:00
skrll
c352a1ce0c Remove NOP flushes. pvh_list == NULL. 2009-08-12 07:46:36 +00:00
skrll
3e1a0e3c2d Pull across a fix from OpenBSD, but use PDE_SIZE instead of ~PDE_MASK + 1.
Make sure that if a PDE isn't there, we skip to the start of the address
range covered by the next PDE and not somewhere in the middle.  The old could
have skipped over some valid PTE's causing them to stay behind in the pmap.
Since we would not flush the cache for those pages either this could also
cause memory corruption when dirty cache lines would be written back to
memory at a later stage.
2009-08-12 07:42:36 +00:00
dholland
75b3905d60 sprinkle static and prune some dead code 2009-08-12 07:42:11 +00:00
dholland
9b92b18917 sprinkle static 2009-08-12 07:28:40 +00:00
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