Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit

Kernel Independent Transport Layer

Kernel Independent Transport Layer

The OEMInit function is the main OAL routine that initializes board-specific peripherals, sets up the kernel variables, and starts KITL by passing a KITL IOCTL to the kernel. If you added and enabled KITL in the run-time image, the kernel starts KITL for debugging over different transport layers, as discussed in Chapter 4, "Debugging and Testing the System."

Table 5-6 lists the functions that the OAL must include to enable KITL support on a new platform.

Table 5-6 KITL support functions

Function Description
OEMKitlInit Initializes KITL.
OEMKitlGetSecs Returns the current time in seconds.
TransportDecode Decodes recevied frames.
TransportEnableInt Enables or disables KITL interrupt if it is interrupt based.
TransportEncode Encodes data accroding the transport's required frame structure.
TransportGetDevCfg Retrieves the device's KITL transport configuration.
TransportReceive Receives a frame from the transport.
TransportSend Sends a frame using the transport.
KitlInit Initializes KITL system.
KitlSendRawData Sends raw data using the transport bypassing the protocol.
KitlSetTimerCallback Registers a callback that is called after a specified amount of time.
KitlStopTimerCallback Disables a timer used by the above routine.

Оглавление книги


Генерация: 1.177. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз