×

Methods and systems for applications to interact with hardware

  • US 7,159,223 B1
  • Filed: 05/12/2000
  • Issued: 01/02/2007
  • Est. Priority Date: 05/12/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer implemented method of providing Java application layer access a fixed memory address space comprising:

  • constructing a Java object having elements which occupy said fixed memory address space;

    whereby a Java application is provided access to the hardware peripheral'"'"'s memory mapped registers directly through said Java object;

    wherein constructing a Java object comprises;

    creating an object descriptor;

    creating an object handle for the Java object which points to the object descriptordefining a new Java class having base address, length, and type parameters, which is used in constructing said Java object; and

    wherein new class is substantially defined in pseudocode as follows;

    Class AnchoredArray{public int element[ ];

    public AnchoredArray(int baseaddress, int length){element=lockDownElements(baseAdress,length);

    Static private native int[ ] lockDownElements(int baseAddress, intlength);

    }void AnchoredArray_lockDownelements( ){int base=popstack( );

    int length=popstack( );

    int *handle=malloc(SIZE_OF_HEADER);

    (instance*) handle->

    type=DEFAULT_TYPE;

    (arrayStruct*) handle->

    arrayBase=base;

    (arrayStruct*) handle->

    length=length;

    push handle;

    }.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×