summaryrefslogtreecommitdiff
path: root/kernel/smp.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-23 00:40:15 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-23 00:40:15 +0200
commit566134df26612d34f2a377659c55fb0f1ae9dfa4 (patch)
treeac92db9a901065cb85399b100d913dce7f769a5b /kernel/smp.c
parent573a28a2ea7534a1e85d2e0a3aa3d06b1218e08c (diff)
reverted interrupts disabling to conservative. and starting fs layer
Diffstat (limited to 'kernel/smp.c')
-rw-r--r--kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/smp.c b/kernel/smp.c
index 76a8b1c..f3bc73b 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -27,6 +27,7 @@ uint32_t local_apic_addr;
void smp_main()
{
+ x86_int_disable();
while(1);
// log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"local apic_addr:0x%08X",local_apic_addr);
@@ -38,7 +39,6 @@ void smp_main()
// *reg=0;//xffffffff; // all bits 1 and interrupt 255
//int_install();
- x86_int_enable();
while(1);