echooy 发表于 2009-9-10 11:08

这个好呀..我的老是生不成

yllhp 发表于 2009-9-10 11:15

sweec:我的也是凤凰bios,我的dsdt无法编译啊,能帮助我看看吗,文件在附件里面,谢谢了!

zjalone 发表于 2009-9-10 16:09

本帖最后由 zjalone 于 2009-9-10 22:07 编辑

仔细的看了帖子,修改好了提示如下:0 Errors, 1 Warnings, 0 Remarks, 48 Optimizations

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20081204
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl9942: Return(Package(0x02){0x00, 0x00})
Warning1099 -            ^ Statement is unreachable

ASL Input:dsdt.dsl - 10018 lines, 329874 bytes, 4826 keywords
AML Output: dsdt.aml - 37261 bytes, 1082 named objects, 3744 executable opcodes

Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 48 Optimizations


我把dsdt.aml反编译成dsdt.dsl修改,没有发现有Return(Package(0x02){0x00, 0x00})以及楼上大侠说的Return(Package(0x02){}),只有
Return (Package (0x02)
{
Zero,
Zero
})
根据楼上帖子把两行zoro去掉变成
Return (Package (0x02) {0x00,0x00})
编译后还是出现

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20081204
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl9942: Return(Package(0x02){0x00, 0x00})
Warning1099 -            ^ Statement is unreachable

ASL Input:dsdt.dsl - 10018 lines, 329874 bytes, 4826 keywords
AML Output: dsdt.aml - 37261 bytes, 1082 named objects, 3744 executable opcodes

Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 48 Optimizations

请教楼主怎么解决,谢谢了!上传了我BIOS提取的DSDT以及修改后的文件。

acdcacdcguitar 发表于 2009-9-10 22:20

请求楼主的帮助,我华硕得主板实在是编译不成了~

googhu 发表于 2009-9-10 22:20

谢谢啊,非常感谢分享经验啊,!

sweec 发表于 2009-9-10 22:24

sweec 发表于 2009-9-10 23:03

zjalone 发表于 2009-9-10 23:39

谢谢楼主,按你的方法解决了

googhu 发表于 2009-9-11 00:42

好强大的方法啊,谢谢分享

sweec 发表于 2009-9-11 00:51

acdcacdcguitar 发表于 2009-9-11 01:08


你的编译没有问题,但是确实有些Warnings和Remarks需要编辑一下。
首先,所有关于Method()的Warnings可以通过我前面回帖里的方法解决,就是在有关Method的最后一个}前加一行:
Return (Zero)
接着,也是前面已经 ...
sweec 发表于 2009-9-11 00:51 https://bbs.pcbeta.com/images/common/back.gif问题是我按照你的方法将(_T_0,ZERO)替换后,patcher会提示45个Errors而无法编译,而没有修改这个(T_0,ZERO)的却可以编译,只是有7个Remarks,在网上下载别人做过的dsdt.aml也是一样的未修正这些!我想是不是发生了什么错误?我都是按照你前面的帖子一步一步做的啊~

sweec 发表于 2009-9-11 01:12

JackieLau 发表于 2009-9-11 01:36

好教程,学习了!

chyi 发表于 2009-9-11 11:11

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20080926
Copyright (C) 2000 - 2008 Intel Corporation
Supports ACPI Specification Revision 3.0a


../dsdt.dsl   373:   Method (\_WAK, 1, NotSerialized)
Warning1080 -                  ^ Reserved method must return a value (_WAK)


../dsdt.dsl   406:             Store (Local0, Local0)
Error    4050 -                            ^ Method local variable is not initialized (Local0)


../dsdt.dsl   411:             Store (Local0, Local0)
Error    4050 -                            ^ Method local variable is not initialized (Local0)


../dsdt.dsl3391:                         EXFG ()
Warning1099 -      Statement is unreachable ^


../dsdt.dsl3580:                         Store (Local0, Local0)
Error    4050 -                                        ^ Method local variable is not initialized (Local0)


ASL Input:../dsdt.dsl - 5916 lines, 194793 bytes, 2267 keywords
Compilation complete. 3 Errors, 2 Warnings, 0 Remarks, 651 Optimizations

按教程方法用软件生成dsdt.dsl,再终端输入命令后显示以上错误.无法生成dsdt.dml文件?要怎么修改?

或哪位帮我修改一下,谢谢了

sweec 发表于 2009-9-11 11:32

chyi 发表于 2009-9-11 12:10


你大概不懂英文,也看不懂我在1楼的帖子里说明的内容。这位学生,请点击ACPI Patcher的Fixes项,在弹出的窗口里勾上前两项:WAK和LOCAL0,点击OK。然后再进行Patch。
sweec 发表于 2009-9-11 11:32 https://bbs.pcbeta.com/images/common/back.gif

这个我懂啊,我按教程修复了生成dcpdsdt.dsl,再将这个dsl生成aml过程过又出错了。

详细信息的内容:
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.IO.FileNotFoundException: 未能找到文件“D:\Chyi\桌面\Patcher02Beta5\新建文件夹\dsdt.dsl”。
文件名:“D:\Chyi\桌面\Patcher02Beta5\新建文件夹\dsdt.dsl”
   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   在 System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   在 System.IO.StreamReader..ctor(String path, Encoding encoding)
   在 System.IO.File.ReadAllLines(String path, Encoding encoding)
   在 System.IO.File.ReadAllLines(String path)
   在 ACPI_Patcher.Form1.PatchHPET()
   在 ACPI_Patcher.Form1.PatchDSDT()
   在 ACPI_Patcher.Form1.AMLPatch(Object sender, EventArgs e)
   在 System.Windows.Forms.Control.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnClick(EventArgs e)
   在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
   在 System.Windows.Forms.Button.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** 已加载的程序集 **************
mscorlib
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
    基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ACPI Patcher
    程序集版本: 0.2.0.5
    Win32 版本: 0.2.0.5
    基本代码: file:///D:/Chyi/桌面/Patcher02Beta5/ACPI%20Patcher.exe
----------------------------------------
Microsoft.VisualBasic
    程序集版本: 8.0.0.0
    Win32 版本: 8.0.50727.1433 (REDBITS.050727-1400)
    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Accessibility
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
mscorlib.resources
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
    基本代码: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
System.Xml
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)
    基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。

例如:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。

trver 发表于 2009-9-11 14:07

谢谢分享.支持中.呵呵

acdcacdcguitar 发表于 2009-9-11 15:52

190# sweec 太感谢了!我也终于了解_T_0怎么修改了!我也把你帮我编译的文件也都详细的和我原来的dsl进行了对比!非常感谢!

sweec 发表于 2009-9-11 21:00

jesustochild 发表于 2009-9-12 12:21

页: 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19
查看完整版本: Windows下无需BIOS文件,使用Everest和ACPI Patcher轻松生成dsdt.aml