EP1503291A1

Reformat logic to reformat a memory access to a device

Abstract

In some embodiments, reformat logic comprises a plurality of registers and translation logic that accesses the registers. The translation logic receives a memory access targeting an application data structure that has a different format than accesses permitted to be provided to a device, which may be a display. The translation logic reformats the request to a format compatible with the device based on values stored in the registers.

EP1503291A1, drawing sheet 1
Sheet 1 of 11

Term

Term ended

Projected expiry passed 30 July 2023, 3.2 years ago.

  1. Priority and filed
  2. Published
  3. Projected expiry
  4. Today

19 claims: 6 independent, 13 dependent

  1. 1
    A system, comprising:a processor executing an application;a peripheral device coupled to the processor;memory containing an application data structure accessible by said application, wherein accesses to said application data structure and accesses to said device are formatted differently, and wherein data can be written to, or read from, the peripheral device via the application data structure;and reformat logic coupled to the processor and memory, the reformat logic dynamically reformats an access from the application targeting the application data structure to a format that comports with the device, thereby permitting said application to manage the peripheral device without the use of a device driver.
  2. 6
    The system of any preceding claim further including a device buffer associated with the device and wherein the application data structure comprises an n -bit data structure and the device buffer comprises an m -bit display buffer, wherein n is different than m , and the reformat logic reformats an n -bit access from the application to an m -bit access for the device buffer.
  3. 11
    The system of any claim of 6-10 wherein the registers are programmed by a virtual machine.
  4. 12
    The system of any preceding claim further comprising a multiplexer that selectively permits accesses from the application to be provided to the memory without being reformatted by the reformat logic and permits accesses from the application to be reformatted before being provided to the memory.
  5. 15
    A method, comprising:receiving a physical address from a processor, the physical address associated with an application data structure;converting the physical address to a device buffer address associated with a device buffer, the device buffer being accessed with a different number of bits than the application data structure;and providing the converted device buffer address to the device buffer t o permit the processor to control a peripheral device without using a driver associated with the peripheral device.
  6. 19
    The method of any of claims 15-18 wherein the device buffer is accessed with fewer bits than the application data structure.