private void AddMethod(string name, byte numArgs, ReservedMethod.AcpiMethodImpl impl) { AbsoluteNodePath root = AbsoluteNodePath.CreateRoot(); Node node = acpiNamespace.CreateNodeAt(new AbsoluteNodePath(new string[] { name }), root); node.Value = new ReservedMethod(numArgs, SerializeFlag.NotSerialized, 0 /*syncLevel*/, impl);; }
public AmlInterpreterThread(AcpiNamespace acpiNamespace, MethodResultCallback callback, IOperationRegionAccessor operationRegionAccessor) { this.acpiNamespace = acpiNamespace; this.currentPath = AbsoluteNodePath.CreateRoot(); this.callback = callback; this.operationRegionAccessor = operationRegionAccessor; }
public NamesVisitor(AcpiNamespace acpiNamespace) { this.acpiNamespace = acpiNamespace; this.currentPath = AbsoluteNodePath.CreateRoot(); }
public ValuesVisitor(AmlLoader loader, AcpiNamespace acpiNamespace) { this.acpiNamespace = acpiNamespace; this.currentPath = AbsoluteNodePath.CreateRoot(); this.loader = loader; }
private void AddNamespace(string name) { AbsoluteNodePath root = AbsoluteNodePath.CreateRoot(); acpiNamespace.CreateNodeAt(new AbsoluteNodePath(new string[] { name }), root); }