void RISCOS_AddDevice(uint32_t flags, struct device *d)
| Entry | |
|---|---|
| flags | Ambiguous! |
| device | HAL Device descriptor pointer |
| Exit | |
|---|---|
| - | The code can fail internally but no return value is given to indicate this failure. Bad! |
Once HAL_InitDevices has been called, RISCOS_AddDevice can be called by the HAL to add devices to the system.