Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 729 → Rev 730

/kernel/trunk/arch/sparc64/Makefile.inc
55,8 → 55,8
#
 
CONFIG_ASID = y
CONFIG_ASID_FIFO = y
 
 
ARCH_SOURCES = \
arch/$(ARCH)/src/cpu/cpu.c \
arch/$(ARCH)/src/asm.S \
/kernel/trunk/arch/sparc64/src/mm/tlb.c
28,6 → 28,7
 
#include <arch/mm/tlb.h>
#include <mm/tlb.h>
#include <genarch/mm/asid_fifo.h>
#include <arch/mm/frame.h>
#include <arch/mm/page.h>
#include <arch/mm/mmu.h>
55,6 → 56,8
frame_address_t fr;
page_address_t pg;
 
asid_fifo_init();
 
fr.address = config.base;
pg.address = config.base;
 
/kernel/trunk/arch/ia64/include/mm/asid.h
34,9 → 34,12
typedef __u32 asid_t;
 
/*
* ASID_MAX can range from 2^18 - 1 to 2^24 - ,
* ASID_MAX can range from 2^18 - 1 to 2^24 - 1,
* depending on architecture implementation.
*/
#define ASID_MAX_ARCH 16777215 /* 2^24 - 1 */
 
#define asid_find_free() ASID_MAX_ARCH
#define asid_put_arch(x)
 
#endif
/kernel/trunk/arch/mips32/Makefile.inc
55,8 → 55,8
#
 
CONFIG_ASID = y
CONFIG_ASID_FIFO = y
 
 
## Accepted MACHINEs
#
 
113,7 → 113,6
arch/$(ARCH)/src/cache.c \
arch/$(ARCH)/src/debugger.c \
arch/$(ARCH)/src/cpu/cpu.c \
arch/$(ARCH)/src/mm/asid.c \
arch/$(ARCH)/src/mm/frame.c \
arch/$(ARCH)/src/mm/page.c \
arch/$(ARCH)/src/mm/tlb.c \
/kernel/trunk/arch/mips32/src/mm/asid.c
File deleted
/kernel/trunk/arch/mips32/src/mm/tlb.c
28,6 → 28,7
 
#include <arch/mm/tlb.h>
#include <mm/asid.h>
#include <genarch/mm/asid_fifo.h>
#include <mm/tlb.h>
#include <mm/page.h>
#include <mm/as.h>
57,6 → 58,8
{
int i;
 
asid_fifo_init();
 
cp0_pagemask_write(TLB_PAGE_MASK_16K);
cp0_entry_hi_write(0);
cp0_entry_lo0_write(0);
/kernel/trunk/arch/ia32/src/mm/tlb.c
46,7 → 46,7
tlb_invalidate_all();
}
 
/** Invalidate TLB entry for specified page range belonging to specified address space.
/** Invalidate TLB entries for specified page range belonging to specified address space.
*
* @param asid This parameter is ignored as the architecture doesn't support it.
* @param page Address of the first page whose entry is to be invalidated.