174948 Commits

Author SHA1 Message Date
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
dogcow
f3440efb4c If you really want to hardcode to a gid/uid, then use the numeric ones;
"wheel" doesn't exist across all unix-like systems.
2008-11-10 02:10:52 +00:00
uebayasi
ed729f9508 Whitespace. 2008-11-10 01:06:43 +00:00
mrg
e5bc8e2c94 fix a couple of minor errors picked up by he@. thanks! 2008-11-09 23:07:22 +00:00
mrg
9c8df5ee67 - retire MKXORG from public use
- introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg
  for the X11 to build if MKX11=yes is set.  it takes the values
  of either Xorg or XFree86.
- default to Xorg on alpha, i386, macppc, shark, sparc and sparc64
- remove MKXORG_WITH_XSRC_XSERVER, unused and never useful
2008-11-09 23:02:28 +00:00
wiz
1c06724455 Bump date for previous. 2008-11-09 19:57:18 +00:00
rmind
1ab44d6592 Update uvm_km_suballoc() description.
Also closes PR/38713.
2008-11-09 19:37:37 +00:00
martin
defe90f72c german trabslation of ipw/iwi license question 2008-11-09 17:58:49 +00:00
macallan
e728cef6f2 XF86VidMode stuff built on sparc. 2008-11-09 17:52:08 +00:00
bouyer
71d4948e50 Fix kern/39769: race condition in TCP timers
When a TCP timer is disarmed (with callout_stop()) in the general case
callout_invoking() isn't checked, so the timer handler could be called run
when the current interrupt handler exits, athough the timer is disarmed.
This case cause bad things like TCPT_REXMT and TCPT_PERSIST being both pending,
causing a panic (see the PR for details).
Close the issue by aborting the handler if the timer is not callout_expired().
(the EXPIRED flag being cleared by callout_stop()).
2008-11-09 17:32:38 +00:00
martin
3ab32a0a5e KNF is nice, but not if it causes a warning that breaks compilation :-) 2008-11-09 15:48:13 +00:00
cegger
76d489193e struct device * -> device_t 2008-11-09 15:34:14 +00:00
bjs
8b2e3ec035 Use agp_flush_cache() instead of wbinvd(). 2008-11-09 14:26:14 +00:00
cegger
32c1f8c732 Nuke last parameter from mpaci_scan_apics() and mpbios_scan().
It is unused.
2008-11-09 14:24:14 +00:00
pgoyette
57edb16273 Update for new reality. 2008-11-09 14:00:48 +00:00