Commit Graph

1508 Commits

Author SHA1 Message Date
jakllsch
8cf4682dc7 Enable sdhc* at cardbus? in amd64 GENERIC. As it is already in i386
GENERIC. sdhc(4) has had working detach support for a while now too.
2013-05-03 15:45:24 +00:00
christos
9434c99ee1 more bogus number removal 2013-04-27 22:21:12 +00:00
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
christos
dc14ae835f remove confusing numeric locators where they are unused. 2013-04-27 18:19:19 +00:00
riz
fdd7809702 Sync DKWEDGE options with XEN3_DOM0. 2013-04-17 00:09:04 +00:00
christos
37ddcb991e de-duplication police arrests sysctl. 2013-04-12 16:59:38 +00:00
christos
caafbf4e1b add missing SSIZE_MIN 2013-04-11 00:57:34 +00:00
martin
210e95ef60 athn at pci has been successfully tested 2013-04-06 16:56:18 +00:00
taca
9b81039fcf Use printf_nolog() as i386 when print remaing bytes at crash dump to
prevent message buffer with cound down.
2013-04-02 13:28:41 +00:00
christos
8b57040752 patches for new wifi devices. 2013-03-30 02:38:58 +00:00
christos
2c1aa36c3d Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. 2013-03-02 02:42:07 +00:00
joerg
e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
khorben
75c88a7f14 Added wpi(4) to the XEN3_DOM0 kernel for both amd64 and i386
Tested on a Lenovo ThinkPad T60 2007 (amd64)
2013-02-09 17:42:34 +00:00
bouyer
9c6e8a9747 Put back 32k MAXPHYS, reverting
http://mail-index.netbsd.org/source-changes/2013/01/19/msg040666.html

64k MAXPHYS breaks at last iso9660, as shown by periodic anita runs at
http://www-soc.lip6.fr/~bouyer/NetBSD-tests/xen/
2013-01-24 13:58:40 +00:00
jakllsch
754f8600b7 xbd has been able to cope with any value of MAXPHYS since
src/sys/arch/xen/xen/xbd_xenbus.c 1.56
2013-01-19 16:19:55 +00:00
christos
0ec56bf804 print the lid too. 2013-01-14 00:06:11 +00:00
chs
e6346fb93b enable sparse dumps by default. 2013-01-12 16:56:11 +00:00
chs
d26d978fbd rearrange the LDT entries so that (32-bit) COMPAT_10 binaries work again.
in long mode, call gates use two slots, so the first entry (a call gate)
would overlap the second one (the 32-bit user code descriptor).
2013-01-07 17:03:06 +00:00
dsl
f39855d55a This is included into user-programs by signal.h, it shouldn't be
pulling in machine/fpu.h - which doesn't describe anything userspace
(directly) needs.
2013-01-02 19:40:23 +00:00
dsl
ee8be9493a Move the two fields used to save some i387 state on the last fpu trap
into their own sub-structure of the pcb (from 'struct savefpu').
They only (seem) to be used in some code that generates core dumps
  for 32bit processes (code that might be broken as well!).
'struct safefpu' is now identical to 'struct fxsave64'. One (or both)
  needs extending to support AVX - might need to be dynamically sized.
Removed all the __aligned(16) except for the one in struct pcb itself.
  Only the copy used for the fsave instruction need be aligned.
2012-12-31 16:20:17 +00:00
christos
b36cb96502 fix cut-n-paste. 2012-12-20 22:08:19 +00:00
dsl
dd26d213b4 Remove the incorrect comment about a (now deleted) pad field added
to make __fpregs be 16-byte aligned within ucontext_t.
I doubt that has been true for years!
Since the __fpregs field isn't accessed by fxsave it doesn't matter.
There is a lot of type fubar here, at leat mark the char[] __aligned(8).
2012-12-15 22:39:04 +00:00
dsl
8c27467f9b Add the offsets and comments for the members of 'struct fxsave64.
Spilt the 'fx_unused2' field into its reserved and available halves.
The latter could be used by the kernel software (cpu won't read/write it).
Remove the __padded from 'struct fxsave64', everything is aligned.
Add a CTASSERT that the size is correct (512).
Remove the unused 'struct oldfsave'.
Everything still builds.
2012-12-15 21:50:43 +00:00
christos
48e748eb9e do like the i386 for modular. 2012-12-14 16:37:55 +00:00
riz
b2bc08746f Add alc* at pci, re-sort slightly to reduce diffs from GENERIC. 2012-11-30 18:13:30 +00:00
chs
f5b8ae644b bump VM_PHYSSEG_MAX to 32, we've seen a system where 16 wasn't enough. 2012-11-13 14:10:24 +00:00
chs
6180e846ae fix sparse crash dumps to contain enough data to be useful,
in particular the top-level page table pages.
use pmap_kremove_local() while writing crash dumps
to avoid spurious warning messages.
2012-11-13 14:09:36 +00:00
cherry
d204c4c45c Remove e a redundant layer of function calling in the event handling path 2012-11-10 16:28:06 +00:00
chs
f7d4bdc260 add include of opt_intrdebug.h. 2012-11-08 02:00:44 +00:00
alnsn
ffd8736098 Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386. 2012-11-05 00:57:39 +00:00
yamt
18aa42204b comment 2012-11-02 08:33:16 +00:00
yamt
7ce56b58f5 fix a comment 2012-11-02 08:31:28 +00:00
apb
f3929b106b Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
2012-10-17 14:48:07 +00:00
alnsn
c0135b01f2 Enable sljit in amd64 kernel and modules. 2012-10-13 19:42:02 +00:00
dsl
9fb5a66c05 Remove references to VM86 from the amd64 kernel configs.
VM86 mode isn't supported while in long mode.
2012-10-04 21:23:45 +00:00
riastradh
5a0c6d85d2 Use db_read_value to read the trapframe fields in db_nextframe.
Fixes SIGSEGV on bt in crash(8) when the stack trace ends in syscall,
and probably other problems as well.

ok christos
2012-10-03 17:43:22 +00:00
alnsn
5c5a76d566 Remove bpf_jit which was ported from FreeBSD recently.
It will soon be replaced with the new bpfjit kernel module.
2012-09-27 18:28:53 +00:00
khorben
1c91c96277 Enable support for synaptics touchpads when running Xen as domain 0; helps
usability on laptops. Fixes PR port-xen/44055.

ok bouyer@ riz@
2012-09-24 23:13:36 +00:00
chs
ebb8f1a4a1 add vmt entry to GENERIC.
standardize commented pfsync and npf entries.
2012-09-23 01:05:21 +00:00
cherry
2b2704572b Revert to unmanaged x86 memory mapped isa and pci space.
This is a revert of commit r1.169:
http://mail-index.netbsd.org/source-changes/2011/11/06/msg028702.html

This should allow X to run on NetBSD/xen amd64 dom0, and fixes PR #46634
2012-09-03 05:01:44 +00:00
jakllsch
ec5ba90796 Rename RT2500USB driver to ural(4) as it was originally in OpenBSD,
as ural(4) and ral(4) do not actually share any code.

Enable ural(4) in hpcarm WZERO3 kernel too, as it will now build.

Fixes PR#43520.
2012-09-01 18:17:49 +00:00
jakllsch
d912dfc016 back out unintentional change in 1.352. 2012-09-01 15:25:33 +00:00
christos
19d01c3be5 don't undef TRAP_SIGDEBUG 2012-08-28 15:54:40 +00:00
dholland
60002edfbc whitespace 2012-08-27 03:18:12 +00:00
dholland
beb1b12003 Restore comment heading lost during the MODULAR thrashing. 2012-08-24 05:59:01 +00:00
sborrill
1c873a3e8f Bump VM_PHYSSEG_MAX to 16 from 10. Modern IBM hardware requires
VM_PHYSSEG_MAX to be turned up to 11 to avoid an early panic.
2012-08-15 08:09:57 +00:00
drochner
762bde4e8a on x86, <machine/cpufunc.h> only pulls in <x86/cpufunc.h>. The latter
is not installed to userland and noone missed it, so the former ones
can not be useful either. Don't install them.
2012-08-08 18:37:51 +00:00
rmind
1f86dc56b4 Add BPF JIT compiler, currently supporting amd64 and i386. Code obtained
from FreeBSD.  Also, make few BPF fixes and simplifications while here.
Note that bpf_jit_enable is false for now.

OK dyoung@, some feedback from matt@
2012-08-01 23:24:28 +00:00
matt
cba962f15d Enable FFS_EI (let's be more endian tolerant). 2012-08-01 04:20:04 +00:00
degroote
a80f624894 Add malo(4) entry in various kernel configuration 2012-07-30 19:40:51 +00:00