Showing changes from revision #1 to #2:
Added | Removed | Changed
Entry | |
---|---|
R0 | Pointer to device descriptor |
R8 | 2 |
Exit | |
---|---|
- | All registers preserved |
Declare a new device to the system. If a device with that address is already registered, an attempt will be made to first remove it.
To remove a device, call OS_Hardware 3.
Instead of calling SWIs, HAL code should use RISCOS_AddDevice to register devices.
Once the device has been added to the system, Service_Hardware 0 will be issued to notify other programs.