Intel ACPI
From: Margit Schubert-While <hidden>
Date: 2003-02-03 23:14:13
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)
}
}
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com