72805df917
Map kernel stacks only at unique addresses. Use one TSS per process. Add sysarch calls for modifying IOPL and the I/O permission bitmap. Add a compacting GDT entry allocator, for TSS and LDT selectors. Enable modifying %fs and %gs with PT_SETREGS. Sanitize various bits of code.
5 lines
170 B
C
5 lines
170 B
C
void tss_alloc __P((struct pcb *));
|
|
void tss_free __P((struct pcb *));
|
|
void ldt_alloc __P((struct pcb *, union descriptor *, size_t));
|
|
void ldt_free __P((struct pcb *));
|