Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

main.c File Reference

Kernel Main routine. More...

#include <const.h>
#include <stdarg.h>
#include <arch/exception.h>
#include <arch/i386.h>
#include <arch/interrupt.h>
#include <arch/mem.h>
#include <arch/paging.h>
#include <arch/v86.h>
#include <kernel/clock.h>
#include <kernel/console.h>
#include <kernel/dma.h>
#include <kernel/ext2.h>
#include <kernel/fat.h>
#include <kernel/floppy.h>
#include <kernel/Ide.h>
#include <kernel/kernel_map.h>
#include <kernel/keyboard.h>
#include <kernel/kmalloc.h>
#include <kernel/multiboot.h>
#include <kernel/queue.h>
#include <kernel/semaphore.h>
#include <kernel/serial.h>
#include <kernel/speaker.h>
#include <kernel/task.h>
#include <kernel/time.h>
#include <kernel/video.h>
#include <kernel/shell.h>

Go to the source code of this file.

Functions

void print_ok ()
 Print the [ OK ] tag.

void print_error ()
 Print the [ ERROR ] tag.

void k_main ()
 This is the beginning of the kernel!!! You can figure it as the init task...
Warning:
To obviate memory faults, first of all, we MUST initialize paging with the init_paging() routine.



Variables

task_tcurr_task
 A pointer to the current running task structure. Declared in task.c.

queue_tready_queue
 A pointer to ready queue. Declared in task.c.

multiboot_info_tboot_info
 The multiboot information pointer from GRUB.

dword PHYS_MEM_DIM
 The physical memory dimension. Initialized in paging.c.

int i
 Used to create initial consoles.


Detailed Description

Kernel Main routine.

Author:
Andrea Righi <drizzt@inwind.it>
Date:
Last update: 2003-11-05
Note:
Copyright (©) 2003 Andrea Righi

Definition in file main.c.


Generated on Fri Feb 20 15:32:19 2004 for Minirighi by doxygen1.2.18