Subversion Repositories HelenOS

Rev

Rev 246 | Rev 267 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 246 Rev 247
Line 47... Line 47...
47
        /* This is a nasty hack, which should be fixed soon */
47
        /* This is a nasty hack, which should be fixed soon */
48
        frame_region_not_free(0x0, 0xfffff);
48
        frame_region_not_free(0x0, 0xfffff);
49
       
49
       
50
        for (i=e820counter;i>0;i--) {
50
        for (i=e820counter;i>0;i--) {
51
            if (e820table[i-1].type!=MEMMAP_MEMORY_AVAILABLE) {
51
            if (e820table[i-1].type!=MEMMAP_MEMORY_AVAILABLE) {
52
                frame_region_not_free(e820table[i-1].base_address,e820table[i-1].size);
52
                    frame_region_not_free(e820table[i-1].base_address, e820table[i-1].base_address+e820table[i-1].size);
53
                }
53
                }
54
            }
54
            }
55
    }
55
    }
56
}
56
}