Commit Graph

113454 Commits

Author SHA1 Message Date
macallan 7f836eb389 make rasops_init()'s font selection code a bit less boneheaded by:
- actually trying to pick a font which gets as close as possible to the
  requested terminal size
- accepting 0,0 as 'use system default' which can be changed by
   options RASOPS_DEFAULT_WIDTH=100
   options RASOPS_DEFAULT_HEIGHT=30
  default is 80x25
- putting alpha and bitmap fonts in the same list and making wsfont_find()
  aware of wether we support alpha fonts or not
- if supported, prefer alpha fonts over otherwise equally suitable bitmap
  fonts
2012-01-11 15:52:32 +00:00
drochner 11ce8fbd83 fix build in the (FAST_)IPSEC & TCP_SIGNATURE case 2012-01-11 14:39:08 +00:00
drochner 0d96157461 protect "union sockaddr_union" from being defined twice by a CPP symbol
(copied from FreeBSD), allows coexistence of (FAST_)IPSEC and pf
2012-01-11 14:37:45 +00:00
reinoud ddb6e0d8d8 Cleanup trap.c and add a stop_all_signal_handlers(void) i: bluntly stopping
all known usages of signal handlers, to be used in shutdown.
2012-01-11 12:40:26 +00:00
reinoud cf7b2e9156 Add thunk_close() 2012-01-11 12:37:50 +00:00
yamt c237385989 comments 2012-01-11 00:11:32 +00:00
rkujawa 363ad7afb3 Changes to Phase5 hardware support:
- Rework p5pb driver - simplify, cleanup, make more flexible.
- Add p5membar driver, which handles PCI resources autoconfigured by the firmware.
- Introduce intermediate p5bus layer, between zbus and CSPPC/BPPC on-board devices (p5pb, cbiiisc, bppcsc).
- Add experimental G-REX support to p5pb (first slot support only).
- Split CV64/3D PCI bridge support into separate cv3dpb driver (to be committed later).

Approved by phx.
2012-01-10 20:29:49 +00:00
drochner 3ad69fe553 remove conditionals which can't succeed, and also shouldn't because
one would get a kernel NULL dereference immediately
2012-01-10 20:05:37 +00:00
drochner cf21c579f1 add patch from Arnaud Degroote to handle IPv6 extended options with
(FAST_)IPSEC, tested lightly with a DSTOPTS header consisting
of PAD1
2012-01-10 20:01:56 +00:00
jakllsch 0c08541da7 split iopi2c(4) device/softc 2012-01-10 18:55:37 +00:00
njoly 7da60f53d8 Call aprint_naive for quiet boot message. 2012-01-10 17:53:51 +00:00
skrll 3629d20c00 G/C vm_{offset,size}_t 2012-01-10 16:26:43 +00:00
chs 8ea5bcc1bf reduce VM_MAX_KERNEL_ADDRESS so that it does not include
the direct-map or APTE regions.
2012-01-10 16:03:17 +00:00
njoly 9b45c535be Call aprint_naive for quiet boot message. 2012-01-10 15:23:11 +00:00
kiyohara b8137ad421 Establish the cascading uic[12] by calling pic_finish_setup(). 2012-01-10 12:17:20 +00:00
reinoud b008bd8cf7 Use thunk_madvise() on the memory space hinting the kernel we are using it in
a random order and hint the kernel that we we need the memory.i

No measured effect on a memory file on tmpfs /tmp though.
2012-01-10 12:07:17 +00:00
reinoud 82a0130cc0 Add thunk_madvise() for memory access hints to the host kernel. 2012-01-10 12:04:56 +00:00
ws f6bb93e4b4 Delete Linux Ethernet Gadget from special handling.
This makes at least the Openmoko Freerunner work again.
Fixes PR kern/45591.
Ok Jeff Rizzo (releng).
2012-01-10 11:32:25 +00:00
reinoud f88a173e3d Clarify comment about PAGER_MAP_DEFAULT_SIZE 2012-01-10 10:19:38 +00:00
reinoud 77d1be9922 Explicitly protect the kernel image against tampering by marking it R-X 2012-01-10 10:09:49 +00:00
jakllsch 1dcbeb95de When a port reset fails, it is important to know which port. 2012-01-10 01:43:05 +00:00
liamjfoy 23e0dddc1f minor typo fix 2012-01-09 22:26:44 +00:00
reinoud 9222cee124 If the spl list is full also notify on the ttycons since it might otherwise
not allways be possible to print the panic correctdue due to the spl level.
2012-01-09 22:20:53 +00:00
reinoud d74ce82ce1 Re-implement aio for ld_thunkbus. It seems to work fine though its not set by
default; define LD_USE_AIO or uncomment its setting at the top of the
sourcefile to enable it.
2012-01-09 21:01:31 +00:00
reinoud 8b9e5ff328 Don't directly call softint_shedule() when we might be in an SPL level too
high.
2012-01-09 20:39:39 +00:00
skrll cf078c1502 KNF 2012-01-09 19:40:54 +00:00
agc 02bc0c2173 also add union file system 2012-01-09 19:25:40 +00:00
skrll 445193e81f Use NOMAN and delete a file. 2012-01-09 16:03:26 +00:00
drochner e3fa29b8b1 allow the ESP fragment length in the NAT-T case to be reported back
through the pfkey interface, kernel part of PR kern/44952
by Wolfgang Stukenbrock
2012-01-09 15:42:08 +00:00
drochner d107562abc Make FAST_IPSEC the default IPSEC implementation which is built
into the kernel if the "IPSEC" kernel option is given.
The old implementation is still available as KAME_IPSEC.
Do some minimal manpage adjustment -- kame_ipsec(4) is a copy
of the old ipsec(4) and the latter is now a copy of fast_ipsec(4).
2012-01-09 15:16:30 +00:00
martin 0474452cbc Avoid a warning in kernels w/o LCD support 2012-01-09 15:15:40 +00:00
reinoud c31558fc48 As ppn is a uintptr_t, it can never be negative so the check is invalid. 2012-01-09 14:58:15 +00:00
reinoud 453f61bbf1 sizeof_t is allways >=0 and the check for >=0 thus allways is true and amd64
complains about this. This might explain the odd write errors that could
sometimes be reported. Those are/were probably a side effect of this.
2012-01-09 14:56:35 +00:00
liamjfoy 24612de5fe check against NULL 2012-01-09 14:31:21 +00:00
phx 62c0bf5b60 Changed description for sandpoint to reflect the focus on consumer NAS. 2012-01-09 13:51:54 +00:00
cherry 92e3d6b9c9 Remove redundant use of curcpu(). 2012-01-09 13:35:42 +00:00
cherry c6e7b43873 Remove obsolete comment. 2012-01-09 13:33:38 +00:00
cherry 66e35f7978 Make cross-cpu pte access MP safe.
XXX: review cases of use of pmap_set_pte() vs direct use of xpq_queue_pte_update()
2012-01-09 13:04:13 +00:00
cherry 0e1fd236aa Harden cross-cpu L3 sync - avoid optimisations that may race.
Update ci->ci_kpm_pdir from user pmap, not global pmap_kernel() entry which may get clobbered by other CPUs.
XXX: Look into why we use pmap_kernel() userspace entries at all.
2012-01-09 12:58:49 +00:00
jmcneill e4d4169543 make sure kernel lock is held when calling into usb stack 2012-01-09 10:57:34 +00:00
kiyohara 0624d9b350 Move spl from ppc4xx_tlb_enter() to pmap_enter(). Don't call splx() on
I/DTLBMISS.
2012-01-09 06:49:25 +00:00
kiyohara 82862d915a Reenable interrupt before was call pic_do_pending_int() by splx(), or KASSERT(). 2012-01-09 06:25:55 +00:00
cherry 36295c300b While freeing ptps, remove stale L3 frame entries on all CPUS the pmap is loaded on, not just the current one. 2012-01-09 04:55:35 +00:00
cherry d515295709 revert previous commit. DIAGNOSTIC should only do strict checks, not muffle current ones 2012-01-09 04:39:14 +00:00
jakllsch abc09c9d3d Instead of assume that 'features' is 0 in wdccommandext(),
pass it as an argument, as is done for wdccommand().
2012-01-09 01:01:48 +00:00
agc 44733b269e enable nullfs in usermode configs 2012-01-08 19:23:37 +00:00
jmcneill cdbdbc76a5 define __HAVE_OLD_DISKLABEL on i386 2012-01-08 18:06:00 +00:00
jmcneill 4623508cab regen 2012-01-08 18:05:43 +00:00
jmcneill 9e1caf3a2d disklabel.h: handle __HAVE_OLD_DISKLABEL. while here, I noticed someone changed param.h without updating genheaders.h, so catch up. 2012-01-08 18:05:02 +00:00
phx f66849eb53 Set the extclk for NH230 to 33000000Hz.
Prepare a synosetup() function which should set a different extclk for
the 400MHz models, as soon as we find a method to check for them.
2012-01-08 14:53:54 +00:00