Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 756 → Rev 757

/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));
}