chuck
e57edfc4a4
udpate license clauses on my code to match the new-style BSD licenses.
...
based on diff that rmind@ sent me.
no functional change with this commit.
2011-02-01 20:09:08 +00:00
njoly
4a85854e5e
Do mask the upper 16 bits, when sanity checking fs/gs register values.
...
Fix my own PR/43842.
2011-01-26 21:44:31 +00:00
pooka
d13f306052
Add bwi from PR kern/40279. There is no know case of testing the
...
driver on amd64/i386, but if it doesn't work at least we're more
likely to get a PR instead of people wondering about lacking driver
support.
2011-01-26 00:25:55 +00:00
jmcneill
b9c99a1608
add acpiwdrt
2011-01-17 15:56:03 +00:00
rmind
7146b2f61d
Retire struct user, remove sys/user.h inclusions. Note sys/user.h header
...
as obsolete. Remove USER_TO_UAREA/UAREA_TO_USER macros.
Various #include fixes and review by matt@.
2011-01-14 02:06:22 +00:00
joerg
d3a052c472
Allow use of traditional CPP to be set on a per platform base in sys.mk.
...
Honour this for dependency processing in bsd.dep.mk. Switch i386 and
amd64 assembly to use ISO C90 preprocessor concat and drop the
-traditional-cpp on this platform.
2011-01-12 23:12:10 +00:00
jruoho
013c599031
Restore the interrupt level in cpu_reboot() before calling the
...
acpi_enter_sleep_state() function.
2011-01-11 21:10:17 +00:00
jruoho
37f5de3ab8
Add a dummy-driver for ACPI fans.
2011-01-09 15:12:33 +00:00
jruoho
a134245aa1
Remove APM. (Already commented out.)
2011-01-09 08:05:47 +00:00
jruoho
e067d18bf0
Add a driver for ACPI power meters.
2011-01-05 20:08:12 +00:00
tsutsui
a9ce633ac2
Xref module(7) in comments.
2011-01-03 06:07:42 +00:00
jmcneill
1fe6c4002d
add 'uaudio* at usbifif?' so uaudio can attach to something other than
...
a hub
2010-12-27 15:56:50 +00:00
njoly
1fb70a6a63
__HAVE_CPU_INFO_FIRST -> __HAVE_CPU_DATA_FIRST.
2010-12-22 22:08:47 +00:00
christos
1101fc9115
Make __HAVE_CPU_DATA_FIRST true
2010-12-22 04:15:01 +00:00
joerg
3e11e26976
Consistently use .gnu.warning with .pushsectio and .popsection on all
...
architectures instead of obsolete STABS frames for linker warnings.
2010-12-20 21:11:24 +00:00
matt
6a66466f0c
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
...
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
2010-12-20 00:25:23 +00:00
jym
7fdc4ddf74
Free tables are already zeroed in xen_pmap_bootstrap. No need to
...
do it a second time in assembly code.
2010-12-18 13:53:34 +00:00
christos
d410526d61
add ihphy
2010-11-27 20:18:46 +00:00
hannken
afdfce8e3b
Remove unused count from pseudo-device md.
2010-11-23 11:13:52 +00:00
dholland
826407be7c
Fix build with COMPAT_13.
2010-11-17 18:22:17 +00:00
uebayasi
b60ff11a9a
struct lwp * and struct proc * derefs.
2010-11-15 06:12:28 +00:00
uebayasi
5d7952a5d1
Move struct vm_page_md definition from vmparam.h to pmap.h, because
...
it's used only by pmap. vmparam.h has definitions for wider
audience.
All GENERIC kernels build tested, except ia64.
powerpc/include/booke/vmparam.h has one too, but it has no pmap.h,
so it's left as is.
2010-11-14 13:33:20 +00:00
jnemeth
bf88591aa0
Add new et(4)/etphy(4) devices.
2010-11-13 09:48:54 +00:00
uebayasi
52232a9d0d
Pull in uvm/uvm.h where UVM's page level interface is used.
2010-11-12 13:18:56 +00:00
dholland
c6a2fe972d
<space><tab>
...
I went and wrote a gizmo to automate this a while back, but I seem to
have *lost* the thing. grr.
2010-11-10 10:07:44 +00:00
uebayasi
04cf143fd6
Use more VM_PHYSMEM_*() accessors. No functional changes.
2010-11-10 09:27:21 +00:00
uebayasi
41e5df6d3e
Remove incomplete, never worked dynamic run-time memory registration
...
(uvm_page_physload(9)). This functionality will be re-added later.
2010-11-06 15:42:43 +00:00
jakllsch
c599081aa1
Enable siisata(4) in Xen dom0 kernels.
2010-11-06 15:08:59 +00:00
gsutre
e0b5016656
Merge ACPI Fujitsu Driver. Provides support for hotkeys and other
...
built-in components through vendor-specific ACPI devices.
ok jruoho@
2010-11-05 10:28:20 +00:00
christos
adf584bad0
add otus
2010-11-03 20:09:09 +00:00
jruoho
117351d1b6
Add acpiwmi(4) mappings for MSI laptops.
...
XXX: It may be necessary to fix PR # 43659 before this works on all models.
2010-10-24 08:54:14 +00:00
jruoho
c99562cb83
Simplify acpi_enter_sleep_state() and guard it against NULL pointer
...
dereferences. Try to avoid referencing the global acpi_softc, which should
really be static or at least internal to acpi(4).
2010-10-24 07:53:04 +00:00
yamt
0356d9d499
Xosyscall: sync with Xsyscall.
2010-10-21 11:43:22 +00:00
yamt
0320f1268a
Xsyscall: remove a stale comment.
2010-10-21 11:42:26 +00:00
yamt
ce54ddc1de
Xsyscall: remove an unused label.
2010-10-21 11:41:31 +00:00
yamt
cc2d727ec3
Xsyscall: save %es before enabling interrupts. otherwise it can be
...
clobbered by preemption. PR/43903.
2010-10-21 11:39:45 +00:00
yamt
c97e27eb0e
cpu_setmcontext: add a comment
2010-10-21 11:28:34 +00:00
yamt
f34d0e9eb1
cpu_fsgs_zero: clear %fs and %gs even in the case of !PK_32.
2010-10-21 11:27:46 +00:00
yamt
7cee2df796
cpu_fsgs_zero: always clear tf_fs and tf_gs.
2010-10-21 11:22:55 +00:00
yamt
9dbb22af20
don't forget to call nmi_init.
2010-10-21 11:17:54 +00:00
gsutre
e28e04ce32
Merge ACPI display driver. Provides generic support for brightness
...
control and output switching, through ACPI video extensions.
TODO: use wsconsctl(8) instead of sysctl(8) for brightness control.
ok jruoho@
also discussed with cegger@ and jmcneill@
2010-10-12 19:10:49 +00:00
jakllsch
4e26f773f2
Avoid fault if acpi_softc is NULL at attempted power-off.
...
XXX at least some of this should be factored off into arch/x86.
2010-09-22 16:16:51 +00:00
chs
bf2af3b9b5
accept the LDT selector in check_sigcontext32() too.
2010-09-05 20:52:38 +00:00
chs
dfffc13a65
in check_mcontext32(), accept the LDT selector for 32-bit user code
...
as well as the GDT selector. fixes PR 43835.
2010-09-05 20:14:39 +00:00
rmind
2e6f2099c6
Import NPF - a packet filter. Some features:
...
- Designed to be fully MP-safe and highly efficient.
- Tables/IP sets (hash or red-black tree) for high performance lookups.
- Stateful filtering and Network Address Port Translation (NAPT).
Framework for application level gateways (ALGs).
- Packet inspection engine called n-code processor - inspired by BPF -
supporting generic RISC-like and specific CISC-like instructions for
common patterns (e.g. IPv4 address matching). See npf_ncode(9) manual.
- Convenient userland utility npfctl(8) with npf.conf(8).
NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.
Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
haad
15b01eef79
dd dm driver to XEN configs because they do not have modules working yet.
...
This will enable using LVM by default on XEN DOM0 hostings running NetBSD.
Change suggested by Sam Fourman.
2010-08-12 20:16:27 +00:00
chs
6b187f6957
add more (commented-out) spdmem instances for HP xw-series workstations.
2010-08-08 18:28:00 +00:00
chs
0c9fb0464e
Fix several panics that can be caused by applications using
...
bad segment register values with setcontext() or sigreturn().
2010-08-08 18:13:54 +00:00
jruoho
6745d5be67
Do not try to disable ACPI if we can not enter to legacy mode. While it is
...
safe to call AcpiDisable() even if a system operates only in ACPI mode, this
leads to unpleasantly verbose error messages in ACPICA.
2010-08-07 20:07:25 +00:00
joerg
7f1183f226
Add support for fenv.h interface for i386 and amd64.
...
Submitted by Stathis Kamperis as part of GSoC 2010 and ported from
FreeBSD.
2010-07-31 21:47:52 +00:00