Examples of unregisterAPI()


Examples of org.jnode.driver.Device.unregisterAPI()

            scsiDevice = null;
            atapiBus = null;
        }

        // Unregister my api's
        ideDev.unregisterAPI(SCSIHostControllerAPI.class);
    }

    /**
     * ATAPI bus implementation.
     *
 
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

        final int max = ideProcessors.length;
        for (int i = 0; i < max; i++) {
            ideProcessors[i].stop();
            ideProcessors[i] = null;
        }
        dev.unregisterAPI(IDEControllerAPI.class);
    }

    /**
     * Start the IDE controller device.
     *
 
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

    protected void stopDevice() throws DriverException {
        final Device dev = getDevice();

        // Unregister the SCSI device that we host
        dev.getManager().unregister(scsiDevice);
        dev.unregisterAPI(SCSIHostControllerAPI.class);
    }

    public void requestCompleted(USBRequest request) {
        log.debug("USBStorageSCSIHostDriver completed with status:" + request.getStatus());
    }
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

    /**
     * Stop the keyboard device.
     */
    protected synchronized void stopDevice() throws DriverException {
        final Device dev = getDevice();
        dev.unregisterAPI(KeyboardAPI.class);
        dev.unregisterAPI(SystemTriggerAPI.class);
        if (System.in == kis) {
            AccessController.doPrivileged(new PrivilegedAction() {
                public Object run() {
                    SystemInputStream.getInstance().releaseSystemIn();
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

     * Stop the keyboard device.
     */
    protected synchronized void stopDevice() throws DriverException {
        final Device dev = getDevice();
        dev.unregisterAPI(KeyboardAPI.class);
        dev.unregisterAPI(SystemTriggerAPI.class);
        if (System.in == kis) {
            AccessController.doPrivileged(new PrivilegedAction() {
                public Object run() {
                    SystemInputStream.getInstance().releaseSystemIn();
                    return null;
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

    protected void stopDevice() throws DriverException {
        final Device dev = getDevice();
        if (acpiDevice != null) {
            dev.getManager().unregister(acpiDevice);
        }
        dev.unregisterAPI(FirmwareAPI.class);
    }

    /**
     * Find the ACPI root descriptor table.
     *
 
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

    /**
     * @see org.jnode.driver.Driver#stopDevice()
     */
    protected void stopDevice() throws DriverException {
        final Device dev = getDevice();
        dev.unregisterAPI(HardwareCursorAPI.class);
        if (currentConfig != null) {
            kernel.close();
        }
        if (kernel != null) {
            kernel.release();
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

    /**
     * @see org.jnode.driver.Driver#stopDevice()
     */
    protected void stopDevice() throws DriverException {
        final Device dev = getDevice();
        dev.unregisterAPI(HardwareCursorAPI.class);
        if (currentConfig != null) {
            kernel.close();
        }
        if (kernel != null) {
            kernel.release();
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

        if (kernel != null) {
            kernel.release();
            kernel = null;
        }
        final Device dev = getDevice();
        dev.unregisterAPI(DisplayDataChannelAPI.class);
        dev.unregisterAPI(HardwareCursorAPI.class);
        super.stopDevice();
    }

    private static final int parseArchitecture(ConfigurationElement config) throws DriverException {
View Full Code Here

Examples of org.jnode.driver.Device.unregisterAPI()

            kernel.release();
            kernel = null;
        }
        final Device dev = getDevice();
        dev.unregisterAPI(DisplayDataChannelAPI.class);
        dev.unregisterAPI(HardwareCursorAPI.class);
        super.stopDevice();
    }

    private static final int parseArchitecture(ConfigurationElement config) throws DriverException {
        final String arch = config.getAttribute("architecture");
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.