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); } }