Commit Graph

174962 Commits

Author SHA1 Message Date
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
cliff 129e7690e8 master cpu does not need LPC stuff, comment out for now 2008-11-10 04:37:14 +00:00
cliff 3b02e84035 - GEMINI_CONSOLE_VBASE renamed to GEMINI_UART_VBASE 2008-11-10 04:35:25 +00:00
cliff 5f656fb56e - use actual device address defines instead of abstract console defines
in mmu_init_table\gemini_start.S and devmap[]\gemini_machdep.c;
  this allows some flexibility e.g. to map 'em all, which is useful
  e.g. when using obio uart to debug lpc uart.

- add mmu_init_table entries for Gemini global regs, lpchc, and lpcio
  these are needed to consinit() when console is lpc uart
2008-11-10 04:33:42 +00:00
cliff 23f46ff40f - use actual device address defines instead of abstract console defines for in mmu_init_table\gemini_start.S and devmap[]\gemini_machdep.c;
this allows some flexibility e.g. to map 'em all, which is useful
  e.g. when using obio uart to debug lpc uart.

- add mmu_init_table entries for Gemini global regs, lpchc, and lpcio
  these are needed to consinit() when console is lpc uart

- now have 2 versions of consinit, one for obio uart,
  the other for lpc uart; we use CONSADDR to determine
  which gets compiled.

- remove a useless bus_space map/unmap from obio uart version of consinit
  comcnattach() will do his own...
2008-11-10 04:30:46 +00:00
cliff a8ab989c8b in critical_devs[], master cpu gets com0;
slave cpu gets geminilpchc0 (and children)
2008-11-10 04:11:17 +00:00
cliff 332c188109 reduce callout polling period to (hz/16)
once we get serial irq from 8712 uart working
this should become a non-issue
2008-11-10 04:07:30 +00:00
dogcow 58059f20c1 Move all the xorg/x11 linty stuff from comp/mi -> xcomp/mi 2008-11-10 04:06:16 +00:00
cliff f5b85be633 gemini_lpc_bus_ops is needed for consinit(), so remove 'static' 2008-11-10 04:05:35 +00:00