问题描述
点击错误提示来到一下代码:
- Method (UXDV, 1, NotSerialized)
- {
- Store (0xFF, Local0)
- Name (T_0, Zero)
- Store (Add (Arg0, Zero), T_0) /* /UXDV.T_0_ */
- If (LEqual (T_0, 0x03F8))
- {
- Store (Zero, Local0)
- }
问题出在Method (UXDV, 1, NotSerialized)
这句代码上。
修复方法
将Method (UXDV, 1, NotSerialized)
修改成Method (UXDV, 1, Serialized)
即可
修复前代码:
- Method (UXDV, 1, NotSerialized)
- {
- Store (0xFF, Local0)
- Name (T_0, Zero)
- Store (Add (Arg0, Zero), T_0) /* /UXDV.T_0_ */
- If (LEqual (T_0, 0x03F8))
- {
- Store (Zero, Local0)
- }
修复后代码:
- Method (UXDV, 1, Serialized)
- {
- Store (0xFF, Local0)
- Name (T_0, Zero)
- Store (Add (Arg0, Zero), T_0) /* /UXDV.T_0_ */
- If (LEqual (T_0, 0x03F8))
- {
- Store (Zero, Local0)
- }
错误有好几处,以上面的修改实例修复其他几处错误提示即可。