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(); } }
159160161162163164165166167168169170171
vga = new VGASurface(this); currentConfig = config; vga.open(config); return vga; } catch (ResourceNotFreeException ex) { throw new DeviceException(ex); } catch (DriverException ex) { throw new DeviceException(ex); } } else { throw new UnknownConfigurationException(); } }
8182838485868788899091
try { this.surface = kernel.open((RadeonConfiguration) config); this.currentConfig = config; return surface; } catch (ResourceNotFreeException ex) { throw new DeviceException(ex); } } } throw new UnknownConfigurationException(); }
4445464748495051
final Device pciBusDevice = new Device(bus, "pcibus"); final PCIDriver pciDriver = new PCIDriver(pciBusDevice); pciBusDevice.setDriver(pciDriver); devMan.register(pciBusDevice); } catch (DriverException ex) { throw new DeviceException(ex); } }