Age | Commit message (Collapse) | Author |
|
|
|
statclock(), do not bother doing this in userret() anymore. As a result,
userret() does not need its pc and ticks arguments, simplify.
|
|
Rename pentium_mhz to cpuspeed which is consistant with amd64 making
shared ACPI code less nasty.
ok marco, deraadt
|
|
errors to userland: make all cpu_setperf functions return void.
Tested by many, ok gwk@
|
|
brad, thanks.
|
|
|
|
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).
|
|
ok deraadt, "slap it in" miod@
|
|
later for some identifications.
"slap it in" deraadt
|
|
alternative sources for interrupt information.
ok gwk@, brad@
|
|
"The dosparts member of cpu_disklabel was not used for any persistant
data. Eliminate it, and just use the data being read in while
processing MBR and EBR records.
Should be no functional change.
ok weingart@ deraadt@"
|
|
some architectures (kaboom); that will be fixed in the next iteration
hopefully!
|
|
data. Eliminate it, and just use the data being read in while
processing MBR and EBR records.
Should be no functional change.
ok weingart@ deraadt@
|
|
a few obsolete and easily replaced disk models. And didn't work anyway
according to Bob, who has tried.
ok beck@
|
|
ok deraadt@
|
|
precision instead of 53-bit precision, giving us proper support for
"long double".
ok deraadt@
|
|
ok deraadt@ and many others.
|
|
|
|
calls in alpha, hppa, hppa64 and mips63 when accessing the two DOS MBR
u_int32_t fields dp_size and dp_start.
No functional change.
|
|
lots of help at c2k6 and after from toby@,
ok toby@, mickey@
|
|
- If an unknown EST CPU is encountered, use the known highest and lowest
(and if different, the current) power state to generate a fake power
state table on the fly. Thanks to canacar for the idea.
- Calculate system bus clock speed before calling est_init(); it is
needed to display proper MHz values from MSR values.
- Also use the bus clock to identify EST CPU's, which is needed to
differentiate e.g. Pentium M 715 and 760, which unfortunately have
exactly the same MSR values.
- Store power states directly as MSR values.
Tested by many, "so when does it go in?" deraadt@
|
|
send a bcast ipi from the cpu0 to all others to timestamp tsc
on every clock intr. this way using local tsc provides accurate
microtime() measurements. thus gettimeofday test passes now.
otto@ deraadt@ ok
|
|
|
|
quintuplet { vendor, MHz_hi, mV_hi, MHz_lo, mV_lo }, which works much
better than parsing the branding string. It also makes it easier to add
new models later.
Shouldn't break any CPU's which previously worked okay with EST; if
there's any trouble, please let me know!
Also adds quite a number of VIA C7-M models, and a few more Pentium M
models, all from FreeBSD.
"go for it" deraadt@
|
|
Improve the heuristics a little and extend them to the version and serial
number fields. Clean the strings of leading/trailing space and deal with
strings which consist entirely of space. Use fixed buffers for strings
instead of using pointers into the table.
ok deraadt@, and tested by many.
|
|
ok brad@
|
|
Spotted by kettenis@
ok mickey@
|
|
this and microtime() to interleave. ok deraadt@ toby@ mickey@
|
|
hook up some sysctls to add system vendor/product/version and UUID reporting.
"get it in" deraadt@
|
|
routing for several integrated devices on those chipsets in GENERIC.MP.
ok brad@, mickey@
|
|
if supported by the cpu(s). currently not enabled by default and
not compiled into ramdisks. this grows paddr_t to 64bit but yet
leaves bus_addr_t at 32bits. measures are taken to favour dmaable
memory allocation from below 4g line such that buffer cache is
already allocated form below, pool backend allocator prefers lower
memory and then finally bounce buffers are used as last resort.
PAE is engaged only if global variable cpu_pae is manually set
to non-zero and there is physical memory present above 4g.
simplify pcibios address math to use u_long as we always will
be in the 32bit space.
|
|
add a BUS_DMA_24BIT flag to signify that dmamap being created
is for the isadma use (thus already backed up by the bounce
buffers). later also to be used for dmamem allocation.
|
|
builds with GPROF, libraries build with PROF. ok espie, miod
|
|
ok marco@
|
|
ok marco@
|
|
|
|
kettenis@ ok
|
|
strange memory zeroing happennning on some amd machines; toby@ ok
|
|
found by drahn@
|
|
|
|
|
|
|
|
by using pause insn; brad@ ok tedu@ ok and feedback krw@ testing
|
|
|
|
ok deraadt@
|
|
architectures. They are now defined as unsigned long, long, long
and unsigned long respectively.
|
|
limit selector, so that the w^x line can float much more dynamically.
Much work done by tom. Tested by various people. Addresses concerns of
(Julien Tinnes) <julien ATHOST cr0.org>
|
|
|
|
|