|
@@ -52,11 +52,7 @@ void __switch_to(struct process_control_block *prev, struct process_control_bloc
|
|
|
__asm__ __volatile__("movq %0, %%fs \n\t" ::"a"(next->thread->fs));
|
|
|
__asm__ __volatile__("movq %0, %%gs \n\t" ::"a"(next->thread->gs));
|
|
|
// wrmsr(0x175, next->thread->rbp);
|
|
|
- uint color;
|
|
|
- if (proc_current_cpu_id == 0)
|
|
|
- color = WHITE;
|
|
|
- else
|
|
|
- color = YELLOW;
|
|
|
+
|
|
|
}
|
|
|
|
|
|
/**
|