目录

Object does not exist (DTGP) | DSDT错误DTGP函数修复

dsdt73,868阅读模式

错误描述

DSDT错误提示Object does not exist (DTGP),去烧DTGP函数,

修复方法

DTGP函数代码:

  1. Method (DTGP, 5, NotSerialized)
  2.     {
  3.         If (LEqual (Arg0, Buffer (0x10)
  4.                 {
  5.                     /* 0000 */    0xC60xB70xB50xA00x180x130x1C0x44,
  6.                     /* 0008 */    0xB00xC90xFE0x690x5E0xAF0x940x9B
  7.                 }))
  8.         {
  9.             If (LEqual (Arg1, One))
  10.             {
  11.                 If (LEqual (Arg2, Zero))
  12.                 {
  13.                     Store (Buffer (One)
  14.                         {
  15.                             0x03
  16.                         }, Arg4)
  17.                     Return (One)
  18.                 }
  19.                 If (LEqual (Arg2, One))
  20.                 {
  21.                     Return (One)
  22.                 }
  23.             }
  24.         }
  25.         Store (Buffer (One)
  26.             {
  27.                 0x00
  28.             }, Arg4)
  29.         Return (Zero)
  30.     }

添加DTGP函数,把以上代码添加到顶部42行左右,添加以后如下图:

Object does not exist (DTGP) | DSDT错误DTGP函数修复

在此编译错误已经消失了。

微信公众号
扫一扫随时掌握最新动态
weinxin
我的微信
官方微博
扫一扫随时掌握最新动态
weinxin
我的公众号
 
评论  7  访客  7
    • love0769
      love0769 4

      感谢小编分享

      • pu873967671
        pu873967671 4

        谢谢分享,大佬

        • jy05509189
          jy05509189 3

          谢谢分享 赶紧试试

          • sundayiscoming
            sundayiscoming 5

            感谢分享!!

            • kaixiaohuo
              kaixiaohuo 5

              支持一下谢谢

              • zminor
                zminor 5

                感谢楼主分享

                • ocean
                  ocean 4

                  到底应该添加在哪一行啊

                发表评论