kern
diff src/segm.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 | 8ea6debe4265 |
children |
line diff
1.1 --- a/src/segm.h Mon Aug 08 09:53:10 2011 +0300 1.2 +++ b/src/segm.h Sun Aug 14 16:57:23 2011 +0300 1.3 @@ -7,9 +7,13 @@ 1.4 #define SEGM_UDATA 4 1.5 #define SEGM_TASK 5 1.6 1.7 +#ifndef ASM 1.8 void init_segm(void); 1.9 1.10 uint16_t selector(int idx, int rpl); 1.11 1.12 +void set_tss(uint32_t addr); 1.13 +#endif /* ASM */ 1.14 + 1.15 1.16 #endif /* SEGM_H_ */