ChorusOS 5.0 Transition Guide

Changes to DKI Extensions

This section lists the changes to the DKI extensions.

svDkiThreadCancel

This new DKI call enable you to cancel the handler execution previously requested via svDkiThreadTrigger.

svDeviceNewNotify/svDeviceNewCancel

These new DKI calls enable you to connect/disconnect a handler which is invoked each time a new device driver instance is registered.

svDkiIoRemap

This new DKI call enables you to change the initial mapping of the device used by the debug agent which provides the console I/O. This call is typically used when the I/O device is located behind a bridge and the configuration of the bridge has changed.

svDkiInitLevel

The svDkiInitLevel call enables a driver to detect whether it is executing at microkernel initialization time or at runtime. In addition, the function allows a driver to determine whether it is runnning at critical or normal initialization step. This allows you to adapt the driver behavior according to the execution environment (critical/normal initialization or runtime).

High Resolution Timer DKI

The High Resolution Timer provides access to a fined-grained counter source for applications. This counter can be used for functions such as fine grained ordering of events or measurements of short segments of code. For more information, refer to the hrt(9DKI) man page.