Subversion Repositories HelenOS-historic

Rev

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

Rev 625 Rev 687
Line 41... Line 41...
41
#include <debug.h>
41
#include <debug.h>
42
#include <arch/asm.h>
42
#include <arch/asm.h>
43
#include <mm/frame.h>
43
#include <mm/frame.h>
44
#include <mm/page.h>
44
#include <mm/page.h>
45
#include <mm/heap.h>
45
#include <mm/heap.h>
-
 
46
#include <mm/asid.h>
46
#include <print.h>
47
#include <print.h>
47
#include <memstr.h>
48
#include <memstr.h>
48
#include <arch/i8259.h>
49
#include <arch/i8259.h>
49
 
50
 
50
#ifdef CONFIG_SMP
51
#ifdef CONFIG_SMP
Line 61... Line 62...
61
        mps_init();
62
        mps_init();
62
        ops = &mps_config_operations;
63
        ops = &mps_config_operations;
63
    }
64
    }
64
 
65
 
65
    if (config.cpu_count > 1) {    
66
    if (config.cpu_count > 1) {    
66
        page_mapping_insert((__address)l_apic, (__address)l_apic,
67
        page_mapping_insert((__address)l_apic, ASID_KERNEL, (__address)l_apic,
67
                  PAGE_NOT_CACHEABLE, 0);
68
                  PAGE_NOT_CACHEABLE, 0);
68
        page_mapping_insert((__address) io_apic,
69
        page_mapping_insert((__address) io_apic, ASID_KERNEL,
69
                  (__address) io_apic,
70
                  (__address) io_apic,
70
                  PAGE_NOT_CACHEABLE, 0);
71
                  PAGE_NOT_CACHEABLE, 0);
71
        }
72
        }
72
 
73
 
73
        /*
74
        /*