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

RISCOS_AddDevice

Hardware Abstraction Layer
» RISC OS entry points from HAL
» RISCOS_AddDevice

RISCOS_AddDevice

(OS entry #4)
void RISCOS_AddDevice(uint32_t flags, struct device *d)
Entry
flags Bits 0..31 reserved (0)
device HAL Device descriptor pointer
Exit
- The code can fail internally but no return value is given to indicate this failure. Bad!

Use

Once HAL_InitDevices has been called, RISCOS_AddDevice can be called by the HAL to add devices to the system.

Information sources: Kernel.Docs.HAL.NewAPI, Kernel.hdr.OSEntries in CVS
Revised on March 25, 2014 09:12:02 by Sprow (202)? (82.153.126.25)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: Creaton and removal of HAL devices, HAL TODO, HAL_InitDevices, RISC OS entry points from HAL by number, Service_Hardware 0, OS_Hardware 2, RISC OS entry points from HAL

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