Age | Commit message (Collapse) | Author |
|
anticipation of further changes to closef(). No binary change.
ok krw@ miod@ deraadt@
|
|
from a fork syscall done by the parent. Use __tfork, not rfork
here to match the ktrace records for the parent (CALL __tfork,
RET __tfork). ok guenther
|
|
ok deraadt@
|
|
|
|
|
|
they can be conditionally called in future.
This makes the i386 speedstep code closer to the amd64 code
(though still with the added complications of VIA support and the
*_update_cpuspeed callbacks)
|
|
"Processor May Incorrectly Update Stack Pointer" by setting a bit
marked 'reserved' in an MSR that is only "documented" to exist on 12h.
AMD claim this problem can only occur in 64-bit mode, set the workaround
bit on i386 in case this isn't true and in the interest of keeping the
errata in sync between i386/amd64.
ok deraadt@
|
|
|
|
at the same time increase said function's max RLE page count return value.
Add hooks in the right places to call the hibernate suspend and resume
routines, so that we can enable hibernation with a HIBERNATE option
line in GENERIC and appropriate acpi.c goo.
discussed on and off with deraadt@ over the past few months
|
|
of per-rthread. Handling of per-thread tick and runtime counters
inspired by how FreeBSD does it.
ok kettenis@
|
|
irrelevant with acpi machines
|
|
new space. The same cannot be done yet with some other architectures
which share the RAMDISK kernel amongst media types too tightly. I am
investigating the horrific src/distrib cleanups required to fix that.
|
|
no oks (it is really a pain to review properly)
extensively tested, I'm confident it'll be stable
'now is the time' from several icb inhabitants
Diff provides:
- ability to specify different allocators for different regions/maps
- a simpler implementation of the current allocator
- currently in compatibility mode: it will generate similar addresses
as the old allocator
|
|
- whilst here, normalise Nd
|
|
Tested on alix and soekris by benno, mpf, shadchin and myself. Loongson
tests by miod. OK mpf, shadchin, kettenis
|
|
|
|
|
|
from Bryan Steele
|
|
|
|
|
|
failures to be neglected; ok markus
|
|
renamed.
|
|
is the DUID that we booted from, which is not always going to be the same
as the DUID that we mount root on.
|
|
While the docs say we should check a bit in cpuid this should work as well.
Fixes problems related a fictitious AMD machine dreamed up by Linux KVM.
Reported/tested by Walter Haidinger, diff from Bryan Steele.
|
|
this for so long, but fixes SEGV on errno access with librthread.
Apologies to jeremy@, todd@, robert@ and others for taking so long to track
this down
|
|
|
|
diffability with the amd64 codebase.
|
|
safety panic from occuring.
Found the hard way by nick@
|
|
and make it compatible with bsd.lv mandoc and with groff-1.21.
This tweak was originally added for compatibility with groff-1.15,
which is no longer needed.
ok jmc@ kristaps@
|
|
ok mlarkin
|
|
discussed with deraadt@
|
|
past, pull that code out seperately.
ok guenther miod
|
|
by krw and myself.
|
|
the right type, noone will ever fiddle with the internals.
discussed with jsing
|
|
This code is from deraadt@
|
|
during hibernate resumes.
|
|
disk/partition name - in this case print the chunk number instead.
|
|
|
|
|
|
it can be used correctly from linux_sys_get_thread_area() and tcb.h.
linux_sys_set_thread_area() should use the copied in value instead of
deferencing SCARG() again. i386_set_threadbase() should only update
curcpu's GDT if it's being called for curproc.
ok pirofti@
|
|
specify a list of source files to compile, instead of building and linking
against libraries.
ok deraadt@
|
|
Cyrix 3DNOW flag from normal cpuid flags as it will show up in
extended flags.
ok kettenis@
|
|
nit while I'm there.
|
|
accidentally use ISA or EISA interrupt mappings on PCI busses.
ok jsg@
|
|
space and not noticing because they only test on amd64. So enforce alignment
there as well, at least for a little while such that we find those bugs and
force people to fix them.
|
|
they apply.
ok oga@ deraadt@
|
|
This mandatory function will get invoked in pci_probe_device(), and allows
a pci host driver to alter the pci_attach_args passed to a device when
attaching.
This function will also, if returning non-zero, cause the device to be
skipped completely during all the phases of the PCI device discovery
(i.e. ressource enumeration, ressource assignment, and actual attachment).
This particular feature is experimental and might be reverted in the future
(or the scope narrowed to device attachment only).
A dummy #define pci_probe_device_hook() 0 is added to all platforms except
sgi, where real functions (currently only returning 0) are added; real meat
will be added shortly.
Discussed at s2k11, no objection from the usual suspects.
|
|
pointed out by Loganaden Velvindron/brad
|
|
discussed with jsing and millert
|
|
for talking to the disk driver snuck in.
ok mlarkin
|