kern

diff src/main.c @ 36:e70b1ab9613e

- added cmos rtc code - added time/date functions in klibc - implemented an iowait macro with output to 0x80
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 10 Jun 2011 05:33:38 +0300
parents 373a9f50b4e6
children 710739e33da8
line diff
     1.1 --- a/src/main.c	Thu Jun 09 05:09:49 2011 +0300
     1.2 +++ b/src/main.c	Fri Jun 10 05:33:38 2011 +0300
     1.3 @@ -5,6 +5,7 @@
     1.4  #include "asmops.h"
     1.5  #include "segm.h"
     1.6  #include "intr.h"
     1.7 +#include "rtc.h"
     1.8  #include "timer.h"
     1.9  #include "mem.h"
    1.10  #include "vm.h"
    1.11 @@ -54,6 +55,7 @@
    1.12  	init_segm();
    1.13  	init_intr();
    1.14  
    1.15 +	init_rtc();
    1.16  	init_timer();
    1.17  
    1.18  	/* initialize the physical memory manager */