Package org.jnode.system.resource

Examples of org.jnode.system.resource.SimpleResourceOwner


    final Address address;

    MemoryRawData(int size) {
        try {
            final ResourceManager rm = InitialNaming.lookup(ResourceManager.NAME);
            final ResourceOwner owner = new SimpleResourceOwner("java.nio");
            this.resource = rm.claimMemoryResource(owner, null, size,
                ResourceManager.MEMMODE_NORMAL);
            this.address = resource.getAddress();
        } catch (NameNotFoundException ex) {
            throw new Error("Cannot find ResourceManager", ex);
View Full Code Here


    /**
     * Create and initialize.
     */
    @PrivilegedActionPragma
    public PIC8259A() {
        final SimpleResourceOwner owner = new SimpleResourceOwner("PIC8259A");

        try {
            final ResourceManager rm = InitialNaming.lookup(ResourceManager.NAME);
            io8259_A = rm.claimIOResource(owner, 0x20, 1); // 0xA0
            io8259_B = rm.claimIOResource(owner, 0xA0, 1);
View Full Code Here

TOP

Related Classes of org.jnode.system.resource.SimpleResourceOwner

Copyright © 2018 www.massapicom. 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.