Writing Device Drivers


The VIS_DEFINI ioctl command releases the driver's console resources and finishes the session.

To implement the VIS_DEVFINI ioctl command in the console frame buffer driver, follow these general steps:

  1. Reset the console frame buffer driver state.

  2. Clear the polled I/O entry points and the kernel terminal emulator video change function callback address.

  3. Release memory.