请大侠帮吗修改一下 Not all control paths return a value (SPL1)
Method (SPL1, 0, Serialized){
Name (PPUU, Zero)
If (LEqual (CSEM, One))
{
Return (Zero)
}
Store (One, CSEM)
Store (PPL1, PLSV)
Store (PL1E, PLEN)
Store (CLP1, CLMP)
If (LEqual (PWRU, Zero))
{
Store (One, PPUU)
}
Else
{
ShiftLeft (Decrement (PWRU), 0x02, PPUU)
}
Multiply (PLVL, PPUU, Local0)
Divide (Local0, 0x03E8, , Local1)
Store (Local1, PPL1)
Store (One, PL1E)
Store (One, CLP1)
}
Method (RPL1, 0, Serialized)
{
Store (PLSV, PPL1)
Store (PLEN, PL1E)
Store (CLMP, CLP1)
Store (Zero, CSEM)
}
Name (DDPS, Zero)
Name (UAMS, Zero)
Method (GUAM, 1, Serialized)
{
If (LNotEqual (Arg0, DDPS))
{
Store (Arg0, DDPS)
Store (LAnd (Arg0, Not (PWRS)), UAMS)
If (Arg0) {}
Else
{
}
P_CS ()
}
} 这个是警告吧?警告不用改。
页:
[1]