Subversion Repositories HelenOS-historic

Rev

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

Rev 703 Rev 778
Line 51... Line 51...
51
        frame_region_not_free(0, FRAME_SIZE);
51
        frame_region_not_free(0, FRAME_SIZE);
52
       
52
       
53
#ifdef CONFIG_SMP
53
#ifdef CONFIG_SMP
54
        /* Reserve AP real mode bootstrap memory */
54
        /* Reserve AP real mode bootstrap memory */
55
        frame_region_not_free(AP_BOOT_OFFSET, hardcoded_unmapped_ktext_size + hardcoded_unmapped_kdata_size);
55
        frame_region_not_free(AP_BOOT_OFFSET, hardcoded_unmapped_ktext_size + hardcoded_unmapped_kdata_size);
-
 
56
       
-
 
57
#ifdef CONFIG_SIMICS_FIX
-
 
58
        /* Don't know why, but this addresses help */
-
 
59
        frame_region_not_free(0xf000,FRAME_SIZE);
-
 
60
        frame_region_not_free(0xe000,FRAME_SIZE);
-
 
61
        frame_region_not_free(0xd000,FRAME_SIZE);
-
 
62
#endif
56
#endif
63
#endif
57
       
64
       
58
        for (i = 0; i < e820counter; i++) {
65
        for (i = 0; i < e820counter; i++) {
59
            if (e820table[i].type == MEMMAP_MEMORY_AVAILABLE) {
66
            if (e820table[i].type == MEMMAP_MEMORY_AVAILABLE) {
60
                zone_create_in_region(e820table[i].base_address, e820table[i].size & ~(FRAME_SIZE-1));
67
                zone_create_in_region(e820table[i].base_address, e820table[i].size & ~(FRAME_SIZE-1));