Subversion Repositories HelenOS

Rev

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

Rev 2128 Rev 2465
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (c) 2005 Jakub Jermar
2
 * Copyright (c) 2007 Pavel Jancik, Michal Kebrt
3
 * All rights reserved.
3
 * All rights reserved.
4
 *
4
 *
5
 * Redistribution and use in source and binary forms, with or without
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
6
 * modification, are permitted provided that the following conditions
7
 * are met:
7
 * are met:
Line 28... Line 28...
28
 
28
 
29
/** @addtogroup arm32mm
29
/** @addtogroup arm32mm
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
-
 
33
 *  @brief Address space functions.
33
 */
34
 */
34
 
35
 
35
#include <arch/mm/as.h>
36
#include <arch/mm/as.h>
36
#include <genarch/mm/as_pt.h>
37
#include <genarch/mm/as_pt.h>
37
#include <genarch/mm/asid_fifo.h>
38
#include <genarch/mm/asid_fifo.h>
38
#include <mm/as.h>
39
#include <mm/as.h>
39
#include <arch.h>
40
#include <arch.h>
40
 
41
 
41
/** Architecture dependent address space init. */
42
/** Architecture dependent address space init.
42
void as_arch_init(void)
-
 
43
{
-
 
44
        as_operations = &as_pt_operations;
-
 
45
    asid_fifo_init();
-
 
46
}
-
 
47
 
-
 
48
/** Install address space.
-
 
49
 *
-
 
50
 * Install ASID.
-
 
51
 *
43
 *  
52
 * @param as Address space structure.
44
 *  Since ARM supports page tables, #as_pt_operations are used.
53
 */
45
 */
54
void as_install_arch(as_t *as)
46
void as_arch_init(void)
55
{
47
{
56
    /* TODO */
48
    as_operations = &as_pt_operations;
57
}
49
}
58
 
50
 
59
/** @}
51
/** @}
60
 */
52
 */