Hello,
I just fixed the generator. Now It generates right P-state tables for
revF of k8 CPUs. I just implemented correct TDP estimations.
The generator didn't compile until I added a cpuid() function.
The program generates a ACPI ASL code which can be include in DSDT. It
provides p-state info for powernow-k8 driver and windows driver.
I have attached the result of your code and what the proprietary BIOS
does and the fixed^Whacked-up genpowernow.c file.
The 1600 MHz step seems to be missing completely with the proprietary
BIOS. A few other differences exist as well. I'm not sure whether the
proprietary BIOS is right.
--
http://www.hailfinger.org/
Scope (_PR.CPU0)
{
Name (_PCT, Package (0x02)
{
ResourceTemplate ()
{
Register (FFixedHW,
0x00, // Bit Width
0x00, // Bit Offset
0x0000000000000000, // Address
,)
},
ResourceTemplate ()
{
Register (FFixedHW,
0x00, // Bit Width
0x00, // Bit Offset
0x0000000000000000, // Address
,)
}
})
Name (_PSS, Package (0x03)
{
/* P#0 freq 1800 [MHz] voltage 1.250000 [V] TDP 62000 [mW] */
Package (0x06)
{
0x00000708,
0x0000f230,
0x00000064,
0x00000007,
0xe820130a,
0x0000030a
},
/* P#1 freq 1600 [MHz] voltage 1.250000 [V] TDP 55056 [mW] */
Package (0x06)
{
0x00000640,
0x0000d710,
0x00000064,
0x00000007,
0xe8201308,
0x00000308
},
/* P#2 freq 1000 [MHz] voltage 1.100000 [V] TDP 26660 [mW] */
Package (0x06)
{
0x000003e8,
0x00006824,
0x00000064,
0x00000007,
0xe8201482,
0x00000482
},
})
Method (_PPC, 0, NotSerialized)
{
Return (0x00)
}
}