h6. [[Hardware Abstraction Layer]] h6(. » [[RISC OS entry points from HAL]] h6((. » RISCOS_AddDevice h2. RISCOS_AddDevice h5. (OS entry #4) <pre> void RISCOS_AddDevice(uint32_t flags, struct device *d) </pre> |_<. 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!":HAL+TODO#nonsensical | h4. Use Once [[HAL_InitDevices]] has been called, RISCOS_AddDevice can be called by the HAL to add devices to the system. h6. Information sources: Kernel.Docs.HAL.NewAPI, Kernel.hdr.OSEntries in CVS