Examples of RAMModuleCollection


Examples of org.jnode.driver.system.ram.RAMModuleCollection

     * Initialize the RAM controller
     */
    protected void initRAMControler() {
        long capacity = 0;
        double refreshRate = 0;
        ramModules = new RAMModuleCollection(8); // this chipset cannot handle more than 8 slots.

        int config = device.readConfigByte(0x57); // offset 0x56
        log.debug("RAM config:" + config);
        int type = (config & 0x18) >> 3; // bits 4-3
        switch (type) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.