Subversion Repositories HelenOS

Rev

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

Rev 3770 Rev 3783
Line 42... Line 42...
42
#include <arch/boot/boot.h>
42
#include <arch/boot/boot.h>
43
#include <arch/arch.h>
43
#include <arch/arch.h>
44
#include <arch/asm.h>
44
#include <arch/asm.h>
45
#include <arch/mm/page.h>
45
#include <arch/mm/page.h>
46
#include <arch/stack.h>
46
#include <arch/stack.h>
-
 
47
#include <arch/sun4v/md.h>
47
#include <genarch/ofw/ofw_tree.h>
48
#include <genarch/ofw/ofw_tree.h>
48
#include <userspace.h>
49
#include <userspace.h>
49
#include <ddi/irq.h>
50
#include <ddi/irq.h>
50
#include <print.h>
51
#include <print.h>
51
 
52
 
Line 65... Line 66...
65
        init.tasks[i].addr = (uintptr_t) bootinfo.taskmap.tasks[i].addr;
66
        init.tasks[i].addr = (uintptr_t) bootinfo.taskmap.tasks[i].addr;
66
        init.tasks[i].size = bootinfo.taskmap.tasks[i].size;
67
        init.tasks[i].size = bootinfo.taskmap.tasks[i].size;
67
        printf("Task %d starts at %x and its size id %d.\n", i, init.tasks[i].addr, init.tasks[i].size);
68
        printf("Task %d starts at %x and its size id %d.\n", i, init.tasks[i].addr, init.tasks[i].size);
68
    }
69
    }
69
 
70
 
70
    // md_init();
71
    md_init();
71
}
72
}
72
 
73
 
73
/** Perform sparc64 specific initialization before mm is initialized. */
74
/** Perform sparc64 specific initialization before mm is initialized. */
74
void arch_pre_mm_init(void)
75
void arch_pre_mm_init(void)
75
{
76
{