Package org.jnode.driver.system.acpi.aml

Examples of org.jnode.driver.system.acpi.aml.Parser


        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);
    }
View Full Code Here

TOP

Related Classes of org.jnode.driver.system.acpi.aml.Parser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.