Changeset eb1b8b6 in mainline for arch/sparc64/src/mm/frame.c


Ignore:
Timestamp:
2006-02-08T00:08:55Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
085d973
Parents:
8b3eebb
Message:

Change ia64 kernel image to link and load at 0x100000 where
it (or its heap or stack) won't mess up with the ROM region.

Blacklist ia64 frame 0 from frame allocator so that 0 won't be
returned to malloc and friends. This can be reenabled again
once the kernel is not identity mapped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/src/mm/frame.c

    r8b3eebb reb1b8b6  
    3434{
    3535        /*
    36          * Workaround to prevent slab allocator from allocating frame 0,
    37          * which is not mapped by OFW.
     36         * Workaround to prevent slab allocator from allocating frame 0.
     37         * Frame 0 is
     38         * a) not mapped by OFW
     39         * b) would be confused with NULL error return code
    3840         */
    3941        frame_region_not_free(0, FRAME_SIZE);
Note: See TracChangeset for help on using the changeset viewer.