Fixes to x86 error and interrupt handling
authorJohn Hodge <[email protected]>
Fri, 2 Apr 2010 12:42:27 +0000 (20:42 +0800)
committerJohn Hodge <[email protected]>
Fri, 2 Apr 2010 12:42:27 +0000 (20:42 +0800)
commit54746c855c6e2fe42fde9f93b0ce3f41aeefc2e5
tree8c070ef9de4edd3079216f220b7ae06317fc4b86
parent670fa3a07996192b3bb8f30bbe17834f3d29df9f
Fixes to x86 error and interrupt handling
- Fixed double fault handler so it actually works
- I (thePowersGang/John Hodge) am an idiot, As you will see from Kernel/arch/x86/desctab.asm
  I forgot to set the data segment selectors to kernel values when handling interrupts,
  this caused IRQs and faults that occured in vm8086 mode to triple fault.
- Other changes to logging, moving more log/notice messages to the Log_* functions
- Untested fixes to TCP's Acknowledgement number code
 > TODO Check wether to ACK a packet on arrival, or once it's added to the client buffer.
- Also fixed some bugs in the thread Sleep/Wake functions that were exposed by
  the vm8086 driver.
19 files changed:
Kernel/Doxyfile.api
Kernel/Makefile.BuildNum
Kernel/arch/x86/desctab.asm
Kernel/arch/x86/errors.c
Kernel/arch/x86/include/arch.h
Kernel/arch/x86/include/desctab.h [new file with mode: 0644]
Kernel/arch/x86/mm_virt.c
Kernel/arch/x86/proc.c
Kernel/arch/x86/vm8086.c
Kernel/debug.c
Kernel/drv/kb.c
Kernel/drv/pci.c
Kernel/drv/vterm.c
Kernel/system.c
Kernel/threads.c
Modules/Display/BochsGA/bochsvbe.c
Modules/IPStack/main.c
Modules/IPStack/tcp.c
Modules/USB/Makefile.tpl [new file with mode: 0644]

UCC git Repository :: git.ucc.asn.au