Intel ACPI

Margit Schubert-While
2003-02-03T23:14:13Z

Hi,
So, What do you think about this (D845):

Method (OSFL, 0, NotSerialized)
{
Store (0x00, Local0)
If (MCTH (\_OS, "Microsoft Windows"))
{
Store (0x01, Local0)
}

If (MCTH (\_OS, "Microsoft WindowsME: Millennium Edition"))
{
Store (0x01, Local0)
}

Return (Local0)
}

Method (_PS3, 0, NotSerialized)
{
If (MCTH (\_OS, "Microsoft Windows"))
{
Store (_GTM (), TIM1)
}
}

Method (_PS0, 0, NotSerialized)
{
If (MCTH (\_OS, "Microsoft Windows"))
{
If (BOOT)
{
If (And (DRVI, 0x20))
{
PRGT (MPIO, MDMA, FLGS, 0xA0)
}

If (And (DRVI, 0x80))
{
PRGT (SPIO, SDMA, FLGS, 0xB0)
}
}

Store (0x01, BOOT)
}
}

Method (_PS3, 0, NotSerialized)
{
If (MCTH (\_OS, "Microsoft Windows"))
{
Store (_GTM (), TIM1)
}
}

Method (_PS0, 0, NotSerialized)
{
If (MCTH (\_OS, "Microsoft Windows"))
{
If (BOOT)
{
If (And (DRVI, 0x20))
{
PRGT (MPIO, MDMA, FLGS, 0xA0)
}

If (And (DRVI, 0x80))
{
PRGT (SPIO, SDMA, FLGS, 0xB0)
}
}

Store (0x01, BOOT)
}
}