Commit Graph

174970 Commits

Author SHA1 Message Date
ad
0efea177e3 Remove LKMs and switch to the module framework, pass 1.
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
pooka
0f81d3e0a2 reference rump_nfs 2008-11-12 06:32:08 +00:00
cegger
30fc40a83e reduce diff to i386/i386/machdep.c:init386()
- introduce add_mem_cluster() as done in i386
- apply rev. 1.480 from i386/i386/machdep.c: fixes PR 17199 for amd64
- apply rev. 1.492 from i386/i386/machdep.c: fixes PR 13399 for amd64
2008-11-12 01:33:44 +00:00
cegger
90fdd18b98 cosmetic change (mostly to reduce diff to i386/i386/machdep.c:initi386):
#if DEBUG_MEMLOAD -> #ifdef DEBUG_MEMLOAD
use PRIx64 rather %qx
No functional changes intended.
2008-11-12 01:17:16 +00:00
cegger
3d7e0ad77e cosmetic changes:
use PRIx64 rather %qx
cache bootinfo addr and size as done in amd64/amd64/machdep.c:init_x86_64()
No functional change intended.
2008-11-12 01:14:01 +00:00
rmind
9204531a37 - Optimise by avoiding few memory barriers, when atomic operations
performs that for us.  OK by <matt>.
- Add RCS ID, and a bit of KNF.
2008-11-11 21:45:33 +00:00
joerg
e09eb39f96 wapbl_replay_free needs the reply to have been stopped, so make sure
that the changes happen in the right order. Reported by veego@
2008-11-11 21:02:54 +00:00
snj
351a2e6266 Fix a couple spelling mistakes in comments. 2008-11-11 20:37:15 +00:00
matt
c8d306e353 Add generic producer/consumer queue code. 2008-11-11 20:17:27 +00:00
dbj
5050c64459 roll back to revision 1.13 until problems mentioned in
PR 39894
can be figured out.
i suspect we can add "boot" to the mtree input, but experimentation
needs to happen first.
2008-11-11 19:55:21 +00:00
cliff
01b65de4cd - add option GEMINI_SINGLE for single-core system model
- add "re" interface to GEMINI configuration
2008-11-11 19:54:38 +00:00
pgoyette
438c6057be Fix typo in previous, and wrap a panic with #ifdef DIAGNOSTIC 2008-11-11 19:03:06 +00:00
pgoyette
0ba7ea9569 Initialize event's "previous sent state" based on the event monitor type,
regardless of sensor type.  Fixes spurious "device: normal state on
'sensor-name' messages (reported by ad@) which interfere with sysinst.
2008-11-11 16:55:01 +00:00
cube
9ebedbde5e Register files installed for libglut. 2008-11-11 16:13:50 +00:00
ad
9b4d249497 Avoid recursive mutex_enter() when the system is low on KVA.
Should fix crash reported by riz on current-users.
2008-11-11 16:13:03 +00:00
cube
300b7fb7a9 Build libglut along with the rest of X.Org. 2008-11-11 16:12:05 +00:00
cube
acbf18e71f Add reachover support files for libglut. 2008-11-11 16:11:29 +00:00
cube
3b773d2296 Add MesaGLUT to the list of X11SRCDIR.<package> variables. 2008-11-11 16:09:53 +00:00
ad
c269b07b80 PR port-i386/39299 FPU use in signal handlers is unsafe 2008-11-11 15:53:53 +00:00
ad
4903bac4b2 PR port-amd64/38293 panic: fp_save ipi didn't
Fix race conditions in FPU IPI handling.
2008-11-11 14:40:18 +00:00
ad
70f38482aa PR port-amd64/38293 panic: fp_save ipi didn't
Kill the FP flush IPI and always save. The synchronization here isn't strong
and we could easily pull the chain on an innocent LWP's FP state.

Another fix to follow.
2008-11-11 13:45:10 +00:00
joerg
5a646249d2 Add prototype for wapbl_replay_can_read, it should have gone in with the
rest of the commit.
2008-11-11 12:45:40 +00:00
joerg
b9400f6fd4 Move WAPL replay handling from bread() into ufs_strategy.
This changes the order of hook processing as the copy-on-write handlers
are called after the journal processing. This makes more sense as the
journal overwrite is logically part of the disk IO.
2008-11-11 08:29:58 +00:00
dyoung
94d985722a It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks().  Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown().  No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown().  I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that.  Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.
2008-11-11 06:46:40 +00:00
cliff
283b08193e remove extra 0x10000000 in Ltemp_l1_table value
is leftover from whe we were loading at 0x10200000.
if slave CPU uses this, he will paste his temporary
L1 table in to the master's data.  bad slave!
2008-11-11 06:39:00 +00:00
cliff
ba1eaeccf6 constrain MEMSIZE to avoid stepping out of smallest-case
Gemini CPU Remap Control remapped-private memory size
"bad" things can happen if the gzboot heap is in
non-core-private memory.
2008-11-11 06:32:15 +00:00
wiz
2ca1f539aa Add backslash (minus is "\-"). 2008-11-11 06:28:30 +00:00
matt
ee49c1fc79 Add BSS -> block started by symbol 2008-11-11 03:55:40 +00:00
macallan
f11a850607 add entries for the AG-10e driver and man page 2008-11-11 03:44:45 +00:00
macallan
2cee05c1b0 it's ag10e not agten 2008-11-11 03:39:08 +00:00
macallan
2ada4c9a61 build the AG-10e driver on sparc and sparc64 2008-11-11 03:38:00 +00:00
macallan
9fe1b32728 reachover for the AG-10e driver 2008-11-11 03:37:27 +00:00
dogcow
fffaa9c27d x11,xorg,lint doesn't work, as the keywords are AND'ed together; you have to
split the entries onto separate lines. Problem pointed out by Jukka Salmi.
2008-11-11 02:18:55 +00:00
agc
d36ba31209 Fix csh syntax in last 2008-11-11 01:05:48 +00:00
reed
ce38195e06 Reference secmodel_securelevel(9) manual page. 2008-11-11 00:18:48 +00:00
reed
68f20c24d9 Add some details about init's role with securelevel.
Add references to other manual pages for more details.
2008-11-11 00:14:55 +00:00
reed
5c180a1861 Fix Document Title and one line description. 2008-11-11 00:10:39 +00:00
reed
a4bfac4a14 Reference secmodel_securelevel(9) manual page. 2008-11-11 00:09:36 +00:00
reed
452130b57f Reference secmodel_securelevel manual page. 2008-11-11 00:08:52 +00:00
joerg
0a197de3d4 Add commented out example of PKG_PATH to make using binary packages
easier.
2008-11-10 23:17:13 +00:00
cegger
e60c84c6c6 PR kern/39608: bge(4) constant freeze on BCM5906M:
Correct DMA values. Patch from Karl Uwe Lockhoff via tech-kern.
2008-11-10 22:50:18 +00:00
joerg
d1cd6d3433 If the size of the buffer didn't change, don't bother updating the WAPBL
accounting as it won't change either.
2008-11-10 21:02:15 +00:00
joerg
8800d320f1 Define wapbl_flush_fn_t only for the kernel. 2008-11-10 20:30:31 +00:00
cliff
b5cb47739c - nullcom.c provides nulldev-like console device for silent gzboot
- GEMINI_dram_0x01600000/Makefile uses nullcom, shhh
2008-11-10 20:30:12 +00:00
joerg
3fbdfc8af9 Reduce internals of WAPBL exposed to the rest of the system. 2008-11-10 20:12:13 +00:00
joerg
5787d39971 Fix typo in fw name. 2008-11-10 18:05:12 +00:00
elad
bd9a6d9b4f Add Hugh Graham (hugh@openbsd.org) to the copyright notice.
This man-page is based on OpenBSD's securelevel(7), and the copyright was
not reflecting that (probably due to a copy/paste error on my part; I can't
remember).

Noticed by Jeremy C. Reed, thanks!
2008-11-10 15:00:18 +00:00
cegger
cf508a059b mainbus_attach: reduce diff a little between i386 and amd64 2008-11-10 14:36:59 +00:00
hasso
fea18d62f5 Add myself. 2008-11-10 11:30:59 +00:00
cliff
ac51de51b3 - slave CPU using LPC UART or console
- don't use VERBOSE_INIT_ARM
- dont configure obio UART
- using intr -1 for now, causes callout interrupt polling
  can use that until serirq from 8712 works
2008-11-10 04:39:43 +00:00