Module Programming

Chapter 1

1.0 Introduction

This is a basic tutorial on how to write a kernel module (or driver) for DexOS. The example is a clock program, that places a small clock in the upper right corner of the screen in the Command Line Interface (CLI). In addition to this module, there are three programs that interface to the driver to illustrate the way applications and kernel modules interface with each other. These interface programs use the functions within the kernel module to turn the clock on and off, in addition to unhooking the driver from the Operating System.

1.1 Prerequisites

In order to understand the contents of this tutorial, you should have an understanding of the material presented in the Application Programing Structure tutorial. If not, please read and understand this guide before attempting to progress through this one.

In addition to this knowledge, you will also require:

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License