Examples of DIMM


Examples of org.jnode.driver.bus.smbus.DIMM

                byte address = (byte) (0xa0 | (i << 1));
                if (DIMMDriver.canExist(bus, address)) {
                    res = readByte((byte) (0xa0 | (i << 1)), (byte) 2);
                    log.debug("Discovered DIMM " + i + " type :" + Integer.toHexString(
                        (int) res));
                    DIMM dimmDevice = new DIMM(bus, "DIMM-" + i);
                    bus.addDevice(dimmDevice);
                    DIMMDriver dimmDriver = new DIMMDriver(bus, address);
                    dimmDevice.setDriver(dimmDriver);
                    DeviceUtils.getDeviceManager().register(dimmDevice);
                    log.info(dimmDevice.toString());
                }
            } catch (Exception ex) {
                log.debug("DIMM " + i + " not present");
            }
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.