|
tape-kernel 1.0
a modular modern independent kernel
|
#include "types.h"

Go to the source code of this file.
Macros | |
| #define | pinit __pinit |
| #define | delay __delay |
Functions | |
| void | __pinit (void) |
| pinit initializes the programmable interval timer | |
| void | __delay (uint32_t ms) |
| delay pauses execution for a number of milliseconds | |
| #define delay __delay |
Definition at line 8 of file pit.h.
Referenced by __editor().
| void __delay | ( | uint32_t | ms | ) |
delay pauses execution for a number of milliseconds
delay is a function that busy-waits on the pit counter for the specified number of milliseconds
| ms,the | number of milliseconds to wait |
using delay is done with
Definition at line 46 of file pit.c.
References inb, outb, PIT_CMD_PORT, and PIT_PORT.
| void __pinit | ( | void | ) |
pinit initializes the programmable interval timer
pinit is a function that configures the pit to fire at 1000 hz providing 1ms resolution for timing purposes
using pinit is done with
Definition at line 22 of file pit.c.
References outb, PIT_CMD_PORT, PIT_FREQUENCY, and PIT_PORT.