h6. [[Hardware Abstraction Layer]] h6(. » [[Other HAL related documentation|Other documentation]] h6((. » [[Service_Hardware]] h6(((. » Service_Hardware 1 h2. Service_Hardware 1 h5. (Service Call &D9) |_<{width:4em}. Entry | | |/2^. R0 |Bits 0-7 Reason code (1) | |Bits 8-31 flags (reserved, will be 0) | |R1 |Service_Hardware (&D9) | |R2 |[[HAL Device API|Device]] | |_<{width:4em}. Exit | | |/3^. R1 |0 to object to device being removed | |R0 -> error block | |Other registers must be preserved | |\2<. Else all registers must be preserved | h4. Use This service call is issued by the OS before a [[HAL Device API|device]] is removed from the system. Claiming the service call by setting R1 to 0 will block the removal of the device. h4. See also * [[OS_Hardware 3]]