Subversion Repositories HelenOS

Rev

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

Rev 3607 Rev 3618
Line 299... Line 299...
299
        (map->count < MEMMAP_MAX_RECORDS); pos += ac + sc) {
299
        (map->count < MEMMAP_MAX_RECORDS); pos += ac + sc) {
300
        void *start = (void *) (buf[pos + ac - 1]);
300
        void *start = (void *) (buf[pos + ac - 1]);
301
        unsigned int size = buf[pos + ac + sc - 1];
301
        unsigned int size = buf[pos + ac + sc - 1];
302
 
302
 
303
        /*
303
        /*
304
         * This is a hot fix of the issue which occurs on machines where there are
304
         * This is a hot fix of the issue which occurs on machines
305
         * holes in the physical memory (such as SunBlade 1500). Should we detect a
305
         * where there are holes in the physical memory (such as
-
 
306
         * SunBlade 1500). Should we detect a hole in the physical
306
         * hole in the physical memory, we will ignore any memory detected behind
307
         * memory, we will ignore any memory detected behind
307
         * the hole and pretend the hole does not exist.
308
         * the hole and pretend the hole does not exist.
308
         */
309
         */
309
        if ((map->count > 0) &&
310
        if ((map->count > 0) &&
310
            (map->zones[map->count - 1].start + map->zones[map->count - 1].size
311
            (map->zones[map->count - 1].start + map->zones[map->count - 1].size
311
                < start))
312
                < start))