MicrOS
kernel.c File Reference

Classes

struct  linesStruct
 

Functions

void print_processor_status ()
 Prints processor details. More...
 
void print_harddisk_details (HARDDISK_ATA_MASTER_SLAVE type, HARDDISK_ATA_BUS_TYPE bus, char *name)
 Prints hard disk detail. More...
 
void print_harddisks_status ()
 Prints hard disks details. More...
 
void startup ()
 
void clear_bss ()
 
void turn_on_serial_debugging ()
 
void v8086_BIOS_timer_interrupt ()
 
int kmain ()
 

Variables

char buff [50]
 
linesStruct ssBuffer [64]
 
v8086v8086_machine
 

Function Documentation

◆ clear_bss()

void clear_bss ( )

◆ kmain()

int kmain ( )

◆ print_harddisk_details()

void print_harddisk_details ( HARDDISK_ATA_MASTER_SLAVE  type,
HARDDISK_ATA_BUS_TYPE  bus,
char *  name 
)

Prints hard disk detail.

Used during boot to print informations about hard disk.

Parameters
typeType of hard disk.
busType of bus for hard disk.
nameName for hard disk eg. "Primary Master", that is printed during boot to specify disk.

◆ print_harddisks_status()

void print_harddisks_status ( )

Prints hard disks details.

Used during boot to print informations about all hard disks.

◆ print_processor_status()

void print_processor_status ( )

Prints processor details.

Used during boot to print informations about print processor.

◆ startup()

void startup ( )

◆ turn_on_serial_debugging()

void turn_on_serial_debugging ( )

◆ v8086_BIOS_timer_interrupt()

void v8086_BIOS_timer_interrupt ( )

Variable Documentation

◆ buff

char buff[50]

◆ ssBuffer

linesStruct ssBuffer[64]

◆ v8086_machine

v8086* v8086_machine