Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 756 → Rev 757

/kernel/trunk/genarch/src/mm/page_ht.c
56,7 → 56,7
 
page_operations_t page_ht_operations = {
.mapping_insert = ht_mapping_insert,
.mapping_find = ht_mapping_find,
.mapping_find = ht_mapping_find
};
 
/** Map page to frame using page hash table.
/kernel/trunk/generic/src/main/main.c
77,9 → 77,6
__address init_addr = 0;
size_t init_size = 0;
 
/** Kernel address space. */
as_t *AS_KERNEL = NULL;
 
void main_bsp(void);
void main_ap(void);
 
/kernel/trunk/generic/src/mm/as.c
56,6 → 56,9
 
as_operations_t *as_operations = NULL;
 
/** Kernel address space. */
as_t *AS_KERNEL = NULL;
 
static int get_area_flags(as_area_t *a);
 
/** Initialize address space subsystem. */
67,7 → 70,10
panic("can't create kernel address space\n");
}
 
/** Create address space. */
/** Create address space.
*
* @param flags Flags that influence way in wich the address space is created.
*/
as_t *as_create(int flags)
{
as_t *as;
/kernel/trunk/arch/sparc64/include/mm/page.h
41,7 → 41,7
#define SET_PTL0_ADDRESS_ARCH(x) /**< To be removed as situation permits. */
 
/** Implementation of page hash table interface. */
#define HT_WIDTH_ARCH 20 /* 1M */
#define HT_WIDTH_ARCH FRAME_WIDTH
#define HT_HASH_ARCH(page, asid) 0
#define HT_COMPARE_ARCH(page, asid, t) 0
#define HT_SLOT_EMPTY_ARCH(t) 1
/kernel/trunk/arch/ia64/src/mm/frame.c
31,7 → 31,18
#include <config.h>
#include <panic.h>
 
/*
* This is Ski-specific and certainly not sufficient
* for real ia64 systems that provide memory map.
*/
#define ROM_BASE 0xa0000
#define ROM_SIZE (384*1024)
 
void frame_arch_init(void)
{
/*
* Blacklist ROM regions.
*/
frame_region_not_free(ROM_BASE, ROM_SIZE);
zone_create_in_region(0, config.memory_size & ~(FRAME_SIZE-1));
}