Changeset 071a8ae6 in mainline for arch


Ignore:
Timestamp:
2006-02-01T20:54:34Z (20 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.

Location:
arch
Files:
2 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}
  • arch/sparc64/include/mm/page.h

    ref67bab r071a8ae6  
    4242
    4343/** Implementation of page hash table interface. */
    44 #define HT_WIDTH_ARCH                   20      /* 1M */
     44#define HT_WIDTH_ARCH                   FRAME_WIDTH
    4545#define HT_HASH_ARCH(page, asid)        0
    4646#define HT_COMPARE_ARCH(page, asid, t)  0
Note: See TracChangeset for help on using the changeset viewer.