Age | Commit message (Collapse) | Author |
|
don't support the other required operations in the driver, but will be
used by OpenSSL.
ok deraadt@
|
|
since it's already in %ebx. (And %eax is reloaded immediately after
the push, so CPL not needed in %eax.) Saves one load every interrupt.
ok dim@, gwk@
|
|
definition. switch amd64 and i386 to the conf.h version, and add it to
macppc.
original diff ok gwk@ tweaks and ok miod@
|
|
right now that are supposed to be atomic with respect to interrupts and
SMP: atomic_setbits_int and atomic_clearbits_int.
All architectures other than i386 and amd64 get dummy implementations
since at first we'll be replacing operations that are done with
"a |= bit" and "a &= ~bit" today. More proper implementations will follow
kettenis@, miod@ ok
|
|
ok deraadt@
|
|
of the disk. Fixes the creation of spurious 'i' partitions on new iPod
Shuffle. And other devices with no MBR, just a FAT32 filesystem.
Pointed out most recently by Stephan A. Rickauer for his sixth
generation, clip-on iPod shuffle.
Fix tested by Stephan.
ok pedro@ tom@ miod@ 'nice' deraadt@
|
|
- LK_EXCLUPGRADE is never used.
- LK_REENABLE is never used.
- LK_SETRECURSE is never used. Because of this, the lk_recurselevel
field is always zero, so it can be removed to.
- the spinlock version (and LK_SPIN) is never used, since it was decided
to use different locking structure for MP-safe protection.
Tested by many
|
|
Scalling" a global flag set by acicpu attach to indicate that ACPI is
handling fvs through the _PSS objects. This will fix disappearing
EST/powernow when booting kernels with acpi enabled, as acpicpu isnt
compiled into GENERIC yet. Also in cases where acpicpu is built in and
legacy EST/powernow work but acpi is missing the _PSS object, the legacy
routines will be used.
tested by dim@, and Nick Nauwelaerts <nick AT nauwelaerts.net>
ok marco@, dim@
|
|
|
|
|
|
Reminded by marco.
|
|
reality, and remove the maxpolls stuff at the same time. Still disabled
in-tree.
|
|
value and changes with acpi versus non acpi kernels.
ok deraadt@ tom@
|
|
boot.
dont call sensordev_install multiple times for esm0. there are multiple
devices accessed via the one esm interface that provide sensor info for
various parts of the system. sensordev_install was being called after each
of these parts was being probed, rather than right at the end after the
entire list of sensors has been built.
tested by kurt@
|
|
Restore user priority before returning to userland.
(other architectures checked and seem to do the right thing)
miod@ ok
|
|
bit (well, uint32 by uint32). Inspired by a claudio commit to malo.c.
Still disabled (awaiting a code review), but works for me here.
ok claudio@
|
|
keypress is seen by boot.
It appears that on the Intel Mac, we have to issue the "check for
keystroke" BIOS call before the "get keystroke" call will get it
(unlike any other BIOS I have seen in over 20 years).
It would not have been possible to fix this problem without the
donation from Steven N. Fettig (steve (at) anywheretechnology.com);
many thanks.
Bump versions of boot, cdboot and pxeboot accordingly.
Testing kettenis@, otto@, and others; ok weingart@.
|
|
|
|
ok fkr
|
|
attachment code has to know better for now;
from Alexei G. Malinin (alexei.malinin@inetcomm.ru)
|
|
|
|
statclock(), do not bother doing this in userret() anymore. As a result,
userret() does not need its pc and ticks arguments, simplify.
|
|
doing so, do not check for signals - userret() will do this.
|
|
|
|
|
|
that specify equal highest and lowest clock ratios. EST is now
silently disabled on these, as was already done for lowest clock
ratios that are zero (on e.g. a bunch of Pentium 4's).
Other weird MSR's are still reported, because we first want to know
about them, before we decide how to handle them.
|
|
with the same high and low speed, leading to a divide by zero error.
A more complete fix will be committed later.
Do it now, deraadt@
|
|
for a pci device.
|
|
Rename pentium_mhz to cpuspeed which is consistant with amd64 making
shared ACPI code less nasty.
ok marco, deraadt
|
|
this product is relatively rare, and way more laptops will need acpi than
need the rtw driver
|
|
wi(4) [this is a server-style install media], and eisa bus support.
|
|
|
|
|
|
ok deraadt
|
|
|
|
domain number such that we can distinguish between busses with the same bus
number that are behind different host bridges. Domains can be accessed by
using different device nodes.
ok deraadt@
|
|
errors to userland: make all cpu_setperf functions return void.
Tested by many, ok gwk@
|
|
introduced by myself at h2k6, thanks mickey@ and toby@ for turning me in
the direction of a corrupt PCB.
|
|
|
|
inetrrupt routing information.
ok deraadt@
|
|
signature AND the AMD extended cpuid 0x800000001 (%eax).
Tested by,
krw@, Joerg Niendorf <joerg.bsd AT internode.net.au> and
steven mestdagh <steven.mestdagh AT esat.kuleuven.be>
ok dim@
|
|
removing the second definition from locore. To prevent locore from
subsequently clobbering boothowto, remove clearing bss from it. The
bootloader has already taken care of this.
ok miod weingart deraadt
|
|
brad, thanks.
|
|
in a few places, and the MP version of GET_CPUINFO is broken. No regression
in GENERIC, however GENERIC.MP still has issues.
|
|
|
|
stuff in arch/i386/i386. This should prevent more screwups like the
one I did before in ichpcib.c...
ok dlg@ kettenis@
|
|
|
|
|
|
|
|
for cpu_swapin() on hppa* which is kept).
|