RISC OS Open
Safeguarding the past, present and future of RISC OS for everyone
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

HALDeviceVideo_VDU (changes)

Showing changes from revision #2 to #3: Added | Removed | Changed

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 implementations not are known to be supported by any several current device-specific modules; see the “Known implementations” table below.RISC OS modules.

Known implementations

Device ID Description Implemented in Used by
HALDeviceID_VDU_OMAP3 OMAP3 video controller HAL.OMAP3.s.Video OMAPVideo
HALDeviceID_VDU_OMAP4 OMAP4 video controller HAL.OMAP4.s.Video OMAPVideo
HALDeviceID_VDU_Tungsten NVidia STRAP data HAL.Tungsten.s.Video NVidia
HALDeviceID_VDU_VIDC20 Acorn VIDC20 HAL.IOMD.s.Video VIDC20Video
HALDeviceID_VDU_BCM2835 BCM2835 VDU device HAL.BCM2835.s.Video BCMVideo
Information source: Kernel.Hdr.HALDevice, Kernel.Hdr.VideoDevice in CVS
Revised on December 3, 2012 23:28:58 by Jeffrey Lee (213) (91.84.11.161)
Edit | Back in time (2 revisions) | Hide changes | History | Views: Print | Source | Linked from: HAL TODO, OMAP3 HAL, List of HAL devices

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 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