Age | Commit message (Collapse) | Author |
|
The "lapic" timer is ripped out since it wasn't actually a lapic timer,
but a hacked up tsc timer with some synchronization for MP. There is no
tsc timer right now since they are very unreliable on MP systems, systems
with apm, and systems that change the cpu clock. Which basically means
every modern machine out there. We're running with the i8259 timer now.
deraadt@ ok
|
|
|
|
implementation of a RAID 1 is included in this but it does not deal with
failures yet. Disabled in GENERIC.
Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@
|
|
w/ in a more simple way as other archs do; art@ ok
|
|
support, so revert my previous commit
|
|
|
|
it's a good idea to use atomic.h operations on it. This mechanic
change updates all bit operations on p_flag to atomic_{set,clear}bits_int.
Only exception is that P_OWEUPC is set by MI code before calling
need_proftick and it's automatically cleared by ADDUPC. There's
no reason for MD handling of that flag since everyone handles it the
same way.
kettenis@ ok
|
|
"yes man" mickey@ (I think that meant 'ok').
|
|
Aaron Linville <aaron@linville.org> in PR 5398.
|
|
ok art
|
|
|
|
|
|
ok jordan
|
|
with %llu; ok miod
|
|
the freezes many of us are seeing (especially on amd64 machines running
OpenBSD/i386).
Much testing by nick@ (as always - thanks!), hugh@, ian@, kettenis@
and Sam Smith (s (at) msmith (dot) net).
Requested by, input from, and ok deraadt@ ok art@, kettenis@, miod@
|
|
ok miod@
|
|
degraded performance.
requested by deraadt@
|
|
rt and such; tested and ok miod drahn
|
|
ok art@
|
|
for a bare FAT12/16/32 filesystem. If one is found, spoof it as 'i'.
This enables iPod shuffles and other umass devices that are shipped
with a bare FAT32 filesystem to be used as install media. And
generally makes things easier for the user just trying to mount some
media, e.g. floppies.
Does not make it safe to write a disklabel or MBR on such a device!
That will still obliterate the FAT filesystem.
Help and suggestions from tom@ and deraadt@. Feedback and suggestions
for future enhancements from espie@ mickey@ and peter@.
ok tom@ deraadt@
|
|
ok deraadt
|
|
Changes to either copy of amd64errata.c must be replicated in the other.
ok deraadt@
|
|
some drivers for ancient devices must die. To modify one of my favorite
quotes into this particular context:
The total amount of suffering per year [on a boot floppy] is beyond
all decent contemplation. During the minute that it takes me to
compose this sentence, [a few device drivers] are being [deleted],
many others are running for their lives, whimpering with fear, others
are being slowly devoured from within by rasping parasites, thousands
of all kinds are dying of starvation, thirst and disease. It must be
so. If there is ever a time of [sufficient space], this very fact will
automatically lead to an increase in [driver] population until the
natural state of starvation and misery is restored.
- cribbed from Richard Dawkins "God's Utility Function",
Scientific American, November 1995
Of course, these drivers remain on the CD boot media, so there is a
solution for the truly desperate legacy addicts.
|
|
|
|
ok kettenis@ cloder@ tom@ henning@
|
|
by acpi_hasprocfvs.
ok gwk
|
|
ok tom@
|
|
> -> \*(Gt
|
|
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.
|