summaryrefslogtreecommitdiff
path: root/arch/x86/machine/boot.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-11-19 01:19:20 +0100
committerRichard Braun <rbraun@sceen.net>2012-11-19 01:19:20 +0100
commitc1d914895fa08f5263a1c6421e65c82622b2fd59 (patch)
tree4fd1865bb7c746a4b4ab5379b5f616cbdb430ff4 /arch/x86/machine/boot.c
parent426d69f9c87875cc8d6b48f1f096f904c1998896 (diff)
kern/thread: preliminary scheduling implementation
This change adds periodic timer interrupt reporting to the thread module, basic thread selection, and context switching. It currently only applies to the main processor. The x86/tcb module has been drastically simplified as a side effect.
Diffstat (limited to 'arch/x86/machine/boot.c')
-rw-r--r--arch/x86/machine/boot.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/machine/boot.c b/arch/x86/machine/boot.c
index c9e7aead..3cc6e475 100644
--- a/arch/x86/machine/boot.c
+++ b/arch/x86/machine/boot.c
@@ -291,8 +291,6 @@ boot_ap_main(void)
cpu_ap_setup();
pmap_ap_bootstrap();
- cpu_intr_enable();
-
for (;;)
cpu_idle();