aboutsummaryrefslogtreecommitdiff
path: root/kernel/drivers/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/cpu.c')
-rw-r--r--kernel/drivers/cpu.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/drivers/cpu.c b/kernel/drivers/cpu.c
index 2c86008..5d53bef 100644
--- a/kernel/drivers/cpu.c
+++ b/kernel/drivers/cpu.c
@@ -91,21 +91,6 @@ void fpu_restore(void)
__asm__ volatile("fxrstor (%0)" ::"r"(fpu_state));
}
-void tss_set_stack(u32 ss, u32 esp)
-{
- UNUSED(ss);
- UNUSED(esp);
- return;
- /* assert(tss_entry && ss && esp); */
- /* struct { */
- /* u32 prev; */
- /* u32 esp0; */
- /* u32 ss0; */
- /* } *tss = (void *)tss_entry; */
- /* tss->esp0 = esp; */
- /* tss->ss0 = ss; */
-}
-
CLEAR static struct cpuid cpuid(u32 code)
{
u32 a, b, c, d;