Changeset 071a8ae6 in mainline


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.

Files:
5 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
  • genarch/src/mm/page_ht.c

    ref67bab r071a8ae6  
    5757page_operations_t page_ht_operations = {
    5858        .mapping_insert = ht_mapping_insert,
    59         .mapping_find = ht_mapping_find,
     59        .mapping_find = ht_mapping_find
    6060};
    6161
  • generic/src/main/main.c

    ref67bab r071a8ae6  
    7878size_t init_size = 0;
    7979
    80 /** Kernel address space. */
    81 as_t *AS_KERNEL = NULL;
    82 
    8380void main_bsp(void);
    8481void main_ap(void);
  • generic/src/mm/as.c

    ref67bab r071a8ae6  
    5757as_operations_t *as_operations = NULL;
    5858
     59/** Kernel address space. */
     60as_t *AS_KERNEL = NULL;
     61
    5962static int get_area_flags(as_area_t *a);
    6063
     
    6871}
    6972
    70 /** Create address space. */
     73/** Create address space.
     74 *
     75 * @param flags Flags that influence way in wich the address space is created.
     76 */
    7177as_t *as_create(int flags)
    7278{
Note: See TracChangeset for help on using the changeset viewer.