dsdt总是提示Error 4096 - syntax error, unexpected $end ^
谢谢各位DX帮忙看看吧。
ntel ACPI Component Architecture
ASL Optimizing Compiler version 20091214 [Dec 16 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0
/Users/richardwei/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 4626: [*** iASL: Read error on source code temp file /Users/richardwei/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.src ***]
Error 4096 - syntax error, unexpected $end ^
ASL Input: /Users/richardwei/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl - 4627 lines, 147284 bytes, 1689 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
4625-4656的dsdt
复制代码
ntel ACPI Component Architecture
ASL Optimizing Compiler version 20091214 [Dec 16 2009]
Copyright (C) 2000 - 2009 Intel Corporation
Supports ACPI Specification Revision 4.0
/Users/richardwei/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl 4626: [*** iASL: Read error on source code temp file /Users/richardwei/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.src ***]
Error 4096 - syntax error, unexpected $end ^
ASL Input: /Users/richardwei/Library/Application Support/EvOSoftware/DSDT/DSDTFiles/dsdt.dsl - 4627 lines, 147284 bytes, 1689 keywords
Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
4625-4656的dsdt
- Method (DTGP, 5, NotSerialized)
- {
- If (LEqual (Arg0, Buffer (0x10)
- {
- /* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
- /* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
- }))
- {
- If (LEqual (Arg1, One))
- {
- If (LEqual (Arg2, Zero))
- {
- Store (Buffer (One)
- {
- 0x03
- }, Arg4)
- Return (One)
- }
-
- If (LEqual (Arg2, One))
- {
- Return (One)
- }
- }
- }
-
- Store (Buffer (One)
- {
- 0x00
- }, Arg4)
- Return (Zero)
- }
作者: richardwei 发布时间: 2011-03-23
去掉 最开头的第一行
作者: cserft 发布时间: 2011-03-23
去掉 最开头的第一行
cserft 发表于 2011-3-23 20:02
cserft 发表于 2011-3-23 20:02
删了错误更多了。我查过这段代码,和网上的一模一样,我看不出有什么语法错误~!
作者: richardwei 发布时间: 2011-03-23
回复 richardwei
DSDT打开后拉到最开始 .
有一个warring, 第一行没有注释掉,也就出现这个问题了,
DSDT打开后拉到最开始 .
有一个warring, 第一行没有注释掉,也就出现这个问题了,
作者: cserft 发布时间: 2011-03-23