kern

diff src/intr.h @ 54:4eaecb14fe31

bringing the task switching thing into shape with proper per-process kernel stacks and shit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 14 Aug 2011 16:57:23 +0300
parents fa65b4f45366
children
line diff
     1.1 --- a/src/intr.h	Mon Aug 08 09:53:10 2011 +0300
     1.2 +++ b/src/intr.h	Sun Aug 14 16:57:23 2011 +0300
     1.3 @@ -18,6 +18,8 @@
     1.4  struct intr_frame {
     1.5  	/* registers pushed by pusha in intr_entry_* */
     1.6  	struct registers regs;
     1.7 +	/* data segment selectors */
     1.8 +	uint32_t ds, es, fs, gs;
     1.9  	/* interrupt number and error code pushed in intr_entry_* */
    1.10  	uint32_t inum, err;
    1.11  	/* pushed by CPU during interrupt entry */