Showing changes from revision #2 to #3:
Added | Removed | Changed
void RISCOS_AddDevice(uint32_t flags, struct device *d)
Entry | |
---|---|
flags | |
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.