Age | Commit message (Collapse) | Author |
|
uniform. as a result shared code like acpi needs less #ifdef's
ok marco kettenis
|
|
ok kettenis
|
|
use); ok tedu
|
|
Add EST support from i386, minus the tables
Also add in support for CPU temperature sensors, based on diff to tech
by Pierre Riteau.
ok deraadt gwk
|
|
years ago; ok miod
|
|
ok miod@, art@
|
|
all cpus in a system supporting frequency and voltage scaling to be scaled
by the same amount corresponding to the user (or apmd on their behalf)
performance level.
This diff also teaches amd64 about acpi_hasprocfvs (ACPI has processor
frequency and voltage scaling).
It also moves initilization of the underlying setperf mechanism such
as powernow to mainbus from the cpu indentification and initilization
code inspired by similar changes dim@ made to i386 durring h2k6. This
is necessary to implement the AMD recommended method for retreiving
p_state data from the ACPI _PSS object (a diff comming soon). It will
also simplify the potential addition of enhanced speedstep as found
on newer intel processors with EMT64 capable of running OpenBSD/amd64.
MP setperf functionality verifed by myself and Johan M:son Lindman <tybolt
AT solace DOT miun DOT se> on opteron 265 and 270 systems respectively.
General testing done by many others thanks!
ok tedu, dim
|
|
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
|
|
possible. Taken from NetBSD.
ok deraadt@
|
|
cpu and if we do, send it an IPI that will force to get into the kernel
and process the AST.
This makes signals to processes on other CPUs to be actually delivered
as soon as possible instead of some time in the future when some
interupt happens.
heavy testing by krw@, miod@ ok (in principle, since he doesn't do amd64)
|
|
statclock(), do not bother doing this in userret() anymore. As a result,
userret() does not need its pc and ticks arguments, simplify.
|
|
is declared in the equivalent file on i386 and delete the repeticious
declarations already scattered in a few places.
Thanks to Will Backman for letting me test this on his machine,
ok mk@
|
|
errors to userland: make all cpu_setperf functions return void.
Tested by many, ok gwk@
|
|
multi-ioapic systems.
ok kettenis
|
|
|
|
and to add amd64 K8 support from FreeBSD.
|
|
rescinded 22 July 1999.
Checked by ian@, deraadt@ and millert@, arm portion checked by drahn@
|
|
instead of the contents of a for() loop. No functional change.
From the m88k SMP tree; ok art@ deraadt@
[complete diff this time]
|
|
|
|
instead of the contents of a for() loop. No functional change.
From the m88k SMP tree; ok art@ deraadt@
|
|
in AMD products with the arrival of the venice core.
ok deraadt@
|
|
other parts later, etc. Just set it to the same default value everywhere.
We won't survive without PSE and tt's not like someone will suddenly make
an amd64 that doesn't support PGE.
This will allow us to make the bootstrap process slightly more sane.
|
|
|
|
|
|
done by me, niklas and others. Especially wrt. NXE support.
Still needs some polishing, especially in dmesg messages, but we're now
building kernel faster than ever.
|
|
deraadt@ ok
|
|
|
|
|
|
|
|
now the amd64 knows what drive it was booted from.
|
|
|
|
|
|
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)
|