Exemple #1
0
            public override void Visit(AmlParser.DefPowerRes defPowerRes)
            {
                AbsoluteNodePath oldPath = currentPath;

                Node node = acpiNamespace.CreateNodeAt(defPowerRes.nameString.nodePath, currentPath);

                currentPath = node.Path;
                foreach (AmlObject amlObject in defPowerRes.amlObjectList)
                {
                    amlObject.Accept(this);
                }

                currentPath = oldPath;
            }
Exemple #2
0
            public override void Visit(AmlParser.DefPowerRes defPowerRes)
            {
                AbsoluteNodePath oldPath = currentPath;

                Node node = acpiNamespace.LookupNode(defPowerRes.nameString.nodePath, currentPath);

                node.Value = new AcpiObject.PowerResource(defPowerRes.systemLevel.byteData,
                                                          defPowerRes.resourceOrder.wordData);

                currentPath = node.Path;
                foreach (AmlObject amlObject in defPowerRes.amlObjectList)
                {
                    amlObject.Accept(this);
                }

                currentPath = oldPath;
            }
Exemple #3
0
 public virtual void Visit(AmlParser.DefPowerRes defPowerRes)
 {
     UnhandledNodeType("DefPowerRes");
 }