/*
    Copyright 2001 (c) by Boris Lutz,
    Swiss Federal Institute of Technology,
    Computer Engineering and Networks Laboratory.
 
    TOPSY -- A Teachable Operating System.
             Implementation of a tiny and simple
             micro kernel for teaching purposes.
 
    For further information, please visit http://www.tik.ee.ethz.ch/~topsy
 
    This software is provided under the terms of the GNU General Public 
    Licence. A full copy of the GNU GPL is provided in the file COPYING 
    found in the development root of Topsy.
*/
/*
	
    File:                  $Source: /home/ruf/cvs_Topsy/cvs/Topsy/VMemory/mips/Attic/vm_hal.h,v $
    Affiliation:           ETH Zuerich, TIK
    Version:               $Revision: 2922 $
    Last Date of Change:   $Date: 2007-03-19 17:48:52 +0100 (Mon, 19 Mär 2007) $  by: $Author: baderma $
 
*/
#ifndef VM_HAL_H
#define VM_HAL_H


/*** Flags ***/
#define MSR_MAP_LLV			0x0001
#define MSR_MAP_HLV			0x0002
#define MSR_MAP_ALL			0x0003
#define MSR_IN_KERNEL		0x0004


/*** architecture dependent address ranges for PDs ***/
address_t getSegStart (int type);
address_t getSegEnd (int type);

/*** mapping of io regions etc (dummy fuinction on mips) ***/
int mapSpecialRegions(struct vm_map* vm_map, struct vm_pmap* vm_pmap,
                      int flags);


#endif
