ChorusOS 4.0 Migration Guide

4.5 KBIM Replacement

The KBIM kernel module has been removed in the ChorusOS 4.0 operating system, taking with it the following services:

svDeferInt()
svIntrGetCurHdl()
svIntrSetMngt()
svIntrGetMngt()
svPicMaskAll()
svPicUnmask()
svPicTestIntr()
svUnDeferIntr()
svReleaseIntr()

Interrupt management is now handled by the kernel DKI module and the bus drivers. Device drivers must not communicate directly with the hardware, but must communicate through the DKI and appropriate bus DDI interface.

Table 4-2 lists ChorusOS 4.0 equivalent DKI and bus DDI interfaces for ChorusOS 3.2 KBIM services.

Table 4-2 Replacement DKI and bus DDI interfaces for KBIM services

ChorusOS 3.2 KBIM Service  

ChorusOS 4.0 DKI 

ChorusOS 4.0 Bus DDI Interface 

svIntrConnect()

svIntrAttach()

*BusOps.intr_attach()

svIntrDisconnect()

svIntrDetach()

*BusOps.intr_detach()

svPicMaskIntr()

N/A 

*BusIntrOps.mask()

svPicUnmaskIntr()

N/A 

*BusIntrOps.unmask()

See "Driver Kernel Interface Overview" in ChorusOS 4.0 Device Driver Framework Guide for more information.