Subversion Repositories HelenOS

Rev

Rev 1842 | Rev 1958 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1842 Rev 1901
Line 43... Line 43...
43
#include <arch/drivers/vesa.h>
43
#include <arch/drivers/vesa.h>
44
#include <genarch/kbd/i8042.h>
44
#include <genarch/kbd/i8042.h>
45
#include <arch/drivers/i8254.h>
45
#include <arch/drivers/i8254.h>
46
#include <arch/drivers/i8259.h>
46
#include <arch/drivers/i8259.h>
47
 
47
 
-
 
48
#ifdef CONFIG_SMP
-
 
49
#include <arch/smp/apic.h>
-
 
50
#endif
-
 
51
 
48
#include <arch/bios/bios.h>
52
#include <arch/bios/bios.h>
49
#include <arch/mm/memory_init.h>
53
#include <arch/mm/memory_init.h>
50
#include <arch/cpu.h>
54
#include <arch/cpu.h>
51
#include <print.h>
55
#include <print.h>
52
#include <arch/cpuid.h>
56
#include <arch/cpuid.h>
Line 154... Line 158...
154
    /* Setup fast SYSCALL/SYSRET */
158
    /* Setup fast SYSCALL/SYSRET */
155
    syscall_setup_cpu();
159
    syscall_setup_cpu();
156
   
160
   
157
}
161
}
158
 
162
 
-
 
163
void arch_post_cpu_init()
-
 
164
{
-
 
165
#ifdef CONFIG_SMP
-
 
166
    if (config.cpu_active > 1) {
-
 
167
        l_apic_init();
-
 
168
        l_apic_debug();
-
 
169
    }
-
 
170
#endif
-
 
171
}
-
 
172
 
159
void arch_pre_smp_init(void)
173
void arch_pre_smp_init(void)
160
{
174
{
161
    if (config.cpu_active == 1) {
175
    if (config.cpu_active == 1) {
162
        memory_print_map();
176
        memory_print_map();
163
       
177