kern

diff src/segm.c @ 10:b11a86695493

interrupt handling
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 18 Feb 2011 08:42:32 +0200
parents 78d5c304ddd0
children 8ea6debe4265
line diff
     1.1 --- a/src/segm.c	Wed Feb 16 08:01:19 2011 +0200
     1.2 +++ b/src/segm.c	Fri Feb 18 08:42:32 2011 +0200
     1.3 @@ -1,5 +1,6 @@
     1.4  #include <string.h>
     1.5  #include "segm.h"
     1.6 +#include "desc.h"
     1.7  
     1.8  /* bits for the 3rd 16bt part of the descriptor */
     1.9  #define BIT_ACCESSED	(1 << 8)
    1.10 @@ -26,7 +27,7 @@
    1.11  
    1.12  
    1.13  /* our global descriptor table */
    1.14 -static desc_t gdt[4];
    1.15 +static desc_t gdt[3];
    1.16  
    1.17  
    1.18  void init_segm(void)