Subversion Repositories HelenOS

Rev

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

Rev 2131 Rev 2182
Line 31... Line 31...
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#include <mm/frame.h>
35
#include <mm/frame.h>
-
 
36
#include <config.h>
-
 
37
#include "../aux_print/printf.h"
36
 
38
 
37
/** Create memory zones. */
39
/** Create memory zones. */
38
void frame_arch_init(void)
40
void frame_arch_init(void)
39
{
41
{
-
 
42
    aux_printf("frame_arch_init ... begin\n");
-
 
43
    // all memory as one zone
-
 
44
    zone_create(0, ADDR2PFN(config.memory_size), 1, 0);
-
 
45
    aux_printf("frame_arch_init ... 1\n");
-
 
46
    /*
-
 
47
     * Blacklist interrupt vector
40
    /* TODO */
48
     */
-
 
49
    frame_mark_unavailable(0, 1);
-
 
50
    aux_printf("frame_arch_init ... end\n");
-
 
51
 
41
}
52
}
42
 
53
 
43
/** @}
54
/** @}
44
 */
55
 */