Service_USB 8 - Sub host controller removed

Service_USB 8 - Sub host controller removed — Used for communications between USB Host Controller drivers. Shows that a sub host controller driver has been removed.

On Entry

R08 (reason code)
R1&80C00 (USB Service call)
R2Pointer to a list of sub driver properties, used as a unique tag.

On Exit

All registers preserved to pass on, else

R0preserved
R10 to claim.
R2preserved

Use

Some Host controller drivers are split into two parts a generic device type handler and a specific hardware dependent support module. This allows one host controller type to have numerous differing hardware implementations without needless duplication of code.

This service call is issued by a main host class driver before it is removed. This allows any sub drivers to perform any necessary finalisation. The sub driver may claim the service to prevent the host class drivers removal.