diff --git a/README.md b/README.md index e69de29..bddb638 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,2 @@ +# Bringelle +![Memory Organization](tools/ram.svg) diff --git a/src/utils/pic.c b/src/utils/pic.c index dcbd983..f811d04 100644 --- a/src/utils/pic.c +++ b/src/utils/pic.c @@ -3,7 +3,7 @@ #include "mem.h" struct IDT_REGISTER IDTR={ - 100*8, + 200*8, 0x0 }; @@ -29,7 +29,7 @@ extern u32 PIC_IRQ_DEFAULT,PIC_IRQ_PRINT,PIC_IRQ_CLOCK; void pic_enable_interrupt(){ // Map first default 32 entries - for(int i=0;i<100;i++){ + for(int i=0;i<200;i++){ pic_add_idt_entry((IDT_ENTRY){0x08,(u32)&PIC_IRQ_DEFAULT,IDT_TYPE_1},i); if(i==32) pic_add_idt_entry((IDT_ENTRY){0x08,(u32)&PIC_IRQ_CLOCK,IDT_TYPE_1},i); diff --git a/tools/ram.svg b/tools/ram.svg new file mode 100644 index 0000000..7d09ae4 --- /dev/null +++ b/tools/ram.svg @@ -0,0 +1,62 @@ + + + + + + + + image/svg+xml + + + + + + + + +