RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

HALDeviceVideo_VDU

Hardware Abstraction Layer
» HAL Device API
» List of HAL devices
» VDU display
(HALDeviceVideo_VDU)

Device API

Currently, only API version 0 is defined.

struct vdudevice
{
  /* Public interface */
  struct device dev;

  uint32_t address2;
  int32_t device2;
  uint32_t devicespecificfield;
};

This specification is currently very rough and needs expanding as the new OMAP3 video driver is developed. At the moment the device only exists to provide a method for the OMAP3 video driver to detect the underlying hardware in a safe and clean manner.

For the OMAP3 video controller:

dev.address and dev.devicenumber specify the logical address of the OMAP3 video controller, and its IRQ number.

address2 and device2 specify the logical address of the OMAP3 SDMA controller, and the IRQ number used by the assigned DMA channels. devicespecificfield is a bitmask defining which SDMA channels are available for use by the video driver (bit set = available, bit clear = unavailable). At least one bit will be set.

Any special behaviour of other fields is currently undefined.

Support in RISC OS

HALDeviceVideo_VDU is not known to be supported by any current RISC OS modules.

Known implementations

Device ID Description Implemented in
HALDeviceID_VDU_OMAP3 OMAP3 video controller HAL.OMAP3.s.Video
Information source: Kernel.Hdr.HALDevice, Kernel.Hdr.VideoDevice in CVS
Revised on November 28, 2009 21:18:18 by Jeffrey Lee (213) (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: HAL TODO, OMAP3 HAL, List of HAL devices

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys