| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
supported by the system.
|
|
|
|
| |
Fix dangling include of the dear departed acpi_ecreg.h
|
|
|
|
| |
Submitted by: "Grover, Andrew" <andrew.grover@intel.com> (OsdHardware.c)
|
|
|
|
|
|
| |
Some problems may remain.
Reviewed by:iwasaki
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the non-reserved bits of dr7.
During context restore, load dr7 in such a way as to not
disturb reserved bits.
machdep.c: Don't explicitly disallow the setting of the reserved bits
in dr7 since we now keep from setting them when we load dr7
from the PCB.
This allows one to write back the dr7 value obtained from
the system without triggering an EINVAL (one of the
reserved bits always seems to be set after taking a trace
trap).
MFC after: 7 days
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
the proper alignment. Change dummy variable in npxinit from stack to bss
to ensure proper alignment.
Reviewed by: bde
|
|
|
|
| |
Reviewed by: peter
|
|
|
|
|
| |
Pointy hat to: me
Submitted by: Danny J. Zerkel <dzerkel@columbus.rr.com>
|
|
|
|
|
| |
PR: 28946
Submitted by: Ryuichiro Imura <imura@ryu16.org>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
has it, for example, and it works fine.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we are required to do if we let user processes use the extra 128 bit
registers etc.
This is the base part of the diff I got from:
http://www.issei.org/issei/FreeBSD/sse.html
I believe this is by: Mr. SUZUKI Issei <issei@issei.org>
SMP support apparently by: Takekazu KATO <kato@chino.it.okayama-u.ac.jp>
Test code by: NAKAMURA Kazushi <kaz@kobe1995.net>, see
http://kobe1995.net/~kaz/FreeBSD/SSE.en.html
I have fixed a couple of style(9) deviations. I have some followup
commits to fix a couple of non-style things.
|
|
|
|
|
|
|
|
|
|
| |
'dwatch'. The new commands install hardware watchpoints if supported
by the architecture and if there are enough registers to cover the
desired memory area.
No objection by: audit@, hackers@
MFC after: 2 weeks
|
|
|
|
|
|
| |
takes from /usr/include. I cannot check them on alpha.. (will try beast)
Briefly looked at by: Warner Losh <imp@harmony.village.org>
|
|
|
|
|
| |
machine-independant source file, vm/vm_zeroidle.c. It was exactly the
same for all platforms and updating them all was getting annoying.
|
|
|
|
|
|
|
|
|
|
|
| |
Also removed some spl's and added some VM mutexes, but they are not actually
used yet, so this commit does not really make any operational changes
to the system.
vm_page.c relates to vm_page_t manipulation, including high level deactivation,
activation, etc... vm_pageq.c relates to finding free pages and aquiring
exclusive access to a page queue (exclusivity part not yet implemented).
And the world still builds... :-)
|
|
|
|
|
|
|
|
|
| |
(this commit is just the first stage). Also add various GIANT_ macros to
formalize the removal of Giant, making it easy to test in a more piecemeal
fashion. These macros will allow us to test fine-grained locks to a degree
before removing Giant, and also after, and to remove Giant in a piecemeal
fashion via sysctl's on those subsystems which the authors believe can
operate without Giant.
|
|
|
|
|
| |
independent and rename the corresponding sysctls from machdep.msgbuf and
machdep.msgbuf_clear (i386 only) to kern.msgbuf and kern.msgbuf_clear.
|
|
|
|
|
|
| |
Submitted by: Tamotsu HATTORI <athlete@kta.att.ne.jp>
Reviewed by: arch@ folks
MFC after: 1 week
|
|
|
|
| |
Forgotten by: jhb (me)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove gif dependencies from stf.
- Make gif and stf into modules
- Make gif cloneable.
PR: kern/27983
Reviewed by: ru, ume
Obtained from: NetBSD
MFC after: 1 week
|
|
|
|
| |
of includes of i386 files from non-i386 ports.
|
| |
|
| |
|
|
|
|
|
|
| |
various differently named pointers buried under p_md.
Reviewed by: jake (in principle)
|
| |
|
|
|
|
|
| |
mcount spin mutex with a very simple non-recursive spinlock implemented
using atomic operations.
|
|
|
|
|
|
|
| |
kernel debugger. Proper use of these registers allows setting
hardware watchpoints for use in kernel debugging.
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
lock until after grabbing the sched_lock to avoid CURSIG racing with
psignal.
- Don't grab Giant for addupc_task() as it isn't needed.
Reported by: tegge (signal race), bde (addupc_task a while back)
|
|
|
|
| |
come up as negative on machines with >2GB ram.
|
|
|
|
|
|
| |
startup routine more closely matches that of alpha and ia64. At some
point the common mutexes shared across all platforms probably should move
into sys/kern_mutex.c.
|
|
|
|
|
|
|
|
|
|
|
|
| |
trace code that was brought over from NetBSD.)
- Check for "syscall_with_err_pushed" as the label prior to a syscall trap
frame rather than "Xlcall_syscall" and "Xint0x80_syscall". We don't
have a valid trapframe during the short range of code that those two
symbols now cover.
- Simplify db_next_frame() to avoid duplicating the code for the different
trap frame types.
- Don't try to trace a swapped-out process. (Brought over from NetBSD via
the new alpha trace code.)
|
|
|
|
| |
a warning.
|
| |
|
| |
|
|
|
|
|
| |
908: warning: long unsigned int format, unsigned int arg (arg 3)
887: warning: `timezero' defined but not used
|
|
|
|
|
|
|
|
|
| |
- Replace some very poorly thought out API hacks that should have been
fixed a long while ago.
- Provide some much more flexible search functions (resource_find_*())
- Use strings for storage instead of an outgrowth of the rather
inconvenient temporary ioconf table from config(). We already had a
fallback to using strings before malloc/vm was running anyway.
|
| |
|
|
|
|
|
| |
Reported by: David Taylor <davidt@yadt.co.uk>
Submitted by: bde
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- move the sysctl code to kern_intr.c
- do not use INTRCNT_COUNT, but rather eintrcnt - intrcnt to determine
the length of the intrcnt array
- move the declarations of intrnames, eintrnames, intrcnt and eintrcnt
from machine-dependent include files to sys/interrupt.h
- remove the hw.nintr sysctl, it is not needed.
- fix various style bugs
Requested by: bde
Reviewed by: bde (some time ago)
|
|
|
|
| |
conditional on #ifdef SMP.
|
|
|
|
|
|
|
|
|
|
|
| |
from cpu_switch(), curproc has been changed, but the sched_lock owner will
not be updated until we return to mi_switch(), thus we deadlock against
ourselves. As a workaround, push the acquire and release of sched_lock out
to the callers of set_user_ldt(). Note that we can't use a mtx_assert() in
set_user_ldt for the same reason.
Sleuting by: tmm
Tested by: tmm, dougb
|