Changeset 071a8ae6 in mainline for arch/ia64/src/mm/frame.c


Ignore:
Timestamp:
2006-02-01T20:54:34Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b5e0bb8
Parents:
ef67bab
Message:

Blacklist addresses between 0xa0000 and 0xfffff on ia64 for frame allocator.
This area contains VGA text frame buffer and should be avoided.
falloc2 test now passes on ia64.

File:
1 edited

Legend:

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

    ref67bab r071a8ae6  
    3232#include <panic.h>
    3333
     34/*
     35 * This is Ski-specific and certainly not sufficient
     36 * for real ia64 systems that provide memory map.
     37 */
     38#define ROM_BASE        0xa0000
     39#define ROM_SIZE        (384*1024)
     40
    3441void frame_arch_init(void)
    3542{
     43        /*
     44         * Blacklist ROM regions.
     45         */
     46        frame_region_not_free(ROM_BASE, ROM_SIZE);
    3647        zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE-1));
    3748}
Note: See TracChangeset for help on using the changeset viewer.