Subversion Repositories HelenOS

Rev

Rev 1892 | Rev 1987 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1892 Rev 1903
Line 35... Line 35...
35
#include <arch/mm/as.h>
35
#include <arch/mm/as.h>
36
#include <arch/mm/tlb.h>
36
#include <arch/mm/tlb.h>
37
#include <genarch/mm/as_ht.h>
37
#include <genarch/mm/as_ht.h>
38
#include <genarch/mm/asid_fifo.h>
38
#include <genarch/mm/asid_fifo.h>
39
#include <debug.h>
39
#include <debug.h>
-
 
40
#include <config.h>
40
 
41
 
41
#ifdef CONFIG_TSB
42
#ifdef CONFIG_TSB
42
#include <arch/mm/tsb.h>
43
#include <arch/mm/tsb.h>
43
#include <arch/memstr.h>
44
#include <arch/memstr.h>
44
#include <synch/mutex.h>
45
#include <synch/mutex.h>
Line 49... Line 50...
49
#endif
50
#endif
50
 
51
 
51
/** Architecture dependent address space init. */
52
/** Architecture dependent address space init. */
52
void as_arch_init(void)
53
void as_arch_init(void)
53
{
54
{
-
 
55
    if (config.cpu_active == 1) {
54
    as_operations = &as_ht_operations;
56
        as_operations = &as_ht_operations;
55
    asid_fifo_init();
57
        asid_fifo_init();
-
 
58
    }
56
}
59
}
57
 
60
 
58
int as_constructor_arch(as_t *as, int flags)
61
int as_constructor_arch(as_t *as, int flags)
59
{
62
{
60
#ifdef CONFIG_TSB
63
#ifdef CONFIG_TSB