Kla2 Source Files



debug.c debug.h

Simple trace manager (can be removed when no longer needed)


intrpt.c intrpt.h

Interrupt enabling, disabling, and status stacking
USER ADDS FUNCTION CALLS TO PERFORM HARDWARE INTERRUPT DISABLE AND ENABLE.


pfcn.c pfcn.h

Prioritized function caller


pipe.c pipe.h

Pipe manager


time.c time.h

Timer manager
USER MODIFIES TO CALL ROUTINES WHICH SET UP CPU CLOCK AND PERIODIC INTERRUPT.


err.c err.h

Fatal error handler


types.h

Type definitions for kernel


skelmain.c

Main program necessary to build system. Must contain a main() function and an idle() pfcn (prioritized function)
USER REPLACES THIS WITH OWN MAIN PROGRAM MODULE.


vectors
(.asm or .c)

USER SUPPLIES OWN INTERRUPT VECTORS (embedded system) OR SIGNAL OR MESSAGE HANDLING MODULE (Linux or Win32).


cstart.asm

USER OR COMPILER VENDOR SUPPLIES THIS MODULE which sets up the stack, and any hardware registers that require immediate attention on powerup. (This module not normally needed when kla2 is embedded into another operating system.)


sizes.h

Sizes for kernel arrays and buffers. USER ADJUSTS TO SUIT OWN NEEDS.