super(driver, tableResource);
root = parse();
}
private final ParseNode parse() throws ResourceNotFreeException {
final Parser p = new Parser();
// the AML starts at offsset 36 of DSDT
final int amlLength = getSize() - 36;
final byte[] table = new byte[amlLength];
getBytes(36, table, 0, amlLength);
ByteBuffer amlBuffer = ByteBuffer.wrap(table);
amlBuffer.rewind();
return p.parse(amlBuffer);
}