4445464748495051
// Register floppy controller device Device fdcDev = new FloppyControllerDevice(bus); fdcDev.setDriver(new FloppyControllerDriver()); devMan.register(fdcDev); } catch (DriverException ex) { throw new DeviceException(ex); } }
3637383940414243
*/ public void findDevices(DeviceManager devMan, Bus bus) throws DeviceException { try { devMan.register(new LoopbackDevice(bus)); } catch (DriverException ex) { throw new DeviceException(ex); } }
3435363738394041
dev.setDriver(new VirtualDeviceDriver()); final DeviceManager dm = DeviceUtils.getDeviceManager(); dm.register(dev); return dev; } catch (Exception x) { throw new DeviceException(x); } }
5253545556575859
dev = new Device(bus, "serial1"); dev.setDriver(new SerialPortDriver(0x2f8)); devMan.register(dev); } catch (DriverException ex) { throw new DeviceException(ex); } }
4849505152535455
try { final Device bios = new Device(bus, "bios"); bios.setDriver(new BiosDriver()); devMan.register(bios); } catch (DriverException ex) { throw new DeviceException(ex); } }
4344454647484950
*/ public void findDevices(DeviceManager devMan, Bus bus) throws DeviceException { try { devMan.register(new PCSpeakerDevice(bus)); } catch (DriverException dex) { throw new DeviceException(dex); } }
7980818283848586878889
try { this.surface = kernel.open((Mach64Configuration) config); this.currentConfig = config; return surface; } catch (ResourceNotFreeException ex) { throw new DeviceException(ex); } } } throw new UnknownConfigurationException(); }
5960616263646566
devMan.register(pDev); } log.debug("ps2stat 0x" + NumberUtils.hex(ps2.readStatus(), 2)); } catch (DriverException ex) { log.debug("Error searching for PS2 devices: " + ex); throw new DeviceException(ex); } }
209210211212213214215
} else { count++; Thread.yield(); } } throw new DeviceException("InputBuffer full"); }
232233234235236237238239240241242
try { writeController(CCMD_READ_MODE); if (waitRead()) { return readData(); } else { throw new DeviceException("Not return data from READ_MODE"); } } finally { processQueues(); } }