[USER] TSS

This commit is contained in:
2016-11-26 13:20:57 +01:00
parent 474914ab1e
commit f63afbb3b1
6 changed files with 42 additions and 19 deletions

View File

@@ -30,22 +30,9 @@ int kmain(uint64_t multiboot_magic, void *multiboot_data)
pit_init();
process_t *p1 = process_spawn(0);
thread_t *t1 = new_thread(thread_function);
process_attach(p1, t1);
scheduler_insert(t1);
t1 = new_thread(thread_function);
process_attach(p1, t1);
scheduler_insert(t1);
t1 = new_thread(thread_function);
process_attach(p1, t1);
scheduler_insert(t1);
t1 = new_thread(thread_function);
process_attach(p1, t1);
scheduler_insert(t1);
t1 = new_thread(thread_function);
process_attach(p1, t1);
scheduler_insert(t1);
asm("sti");