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


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

Fix sparc64 and ia64 to work with the changed frame allocator.

Fix ppc32 to at least compile.

File:
1 edited

Legend:

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

    r085d973 r5e3757d  
    3333void frame_arch_init(void)
    3434{
     35        zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0);
     36
    3537        /*
    3638         * Workaround to prevent slab allocator from allocating frame 0.
     
    3941         * b) would be confused with NULL error return code
    4042         */
    41         frame_region_not_free(0, FRAME_SIZE);
    42        
    43         zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE - 1));
     43        frame_mark_unavailable(0, 1);
    4444}
Note: See TracChangeset for help on using the changeset viewer.