Subversion Repositories HelenOS

Rev

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

Rev 2284 Rev 2289
Line 47... Line 47...
47
#include <config.h>
47
#include <config.h>
48
#include <interrupt.h>
48
#include <interrupt.h>
49
#include <arch/regutils.h>
49
#include <arch/regutils.h>
50
#include <arch/drivers/gxemul.h>
50
#include <arch/drivers/gxemul.h>
51
#include <userspace.h>
51
#include <userspace.h>
-
 
52
 
52
bootinfo_t bootinfo;
53
bootinfo_t bootinfo;
53
uintptr_t supervisor_sp /*__attribute__ ((section (".text")))*/;
54
// // uintptr_t supervisor_sp /*__attribute__ ((section (".text")))*/;
-
 
55
extern uintptr_t supervisor_sp;
54
 
56
 
55
//TODO: Remove include and move into exceptio.c
57
//TODO: Remove include and move into exceptio.c
56
#include <arch/exception.h>
58
#include <arch/exception.h>
57
 
59
 
58
#include <syscall/syscall.h>
60
#include <syscall/syscall.h>
Line 105... Line 107...
105
 
107
 
106
    /* It is not assumed by default */
108
    /* It is not assumed by default */
107
    interrupts_disable();
109
    interrupts_disable();
108
 
110
 
109
    setup_exception_stacks();
111
    setup_exception_stacks();
110
 
-
 
111
   
-
 
112
}
112
}
113
 
113
 
114
void prefetch_exception_generator(void);
114
void prefetch_exception_generator(void);
115
 
115
 
116
void arch_post_mm_init(void)
116
void arch_post_mm_init(void)
Line 127... Line 127...
127
    console_init(device_assign_devno());
127
    console_init(device_assign_devno());
128
    //fb_init(0x12000000, 640, 480, 1920, VISUAL_RGB_8_8_8);
128
    //fb_init(0x12000000, 640, 480, 1920, VISUAL_RGB_8_8_8);
129
   
129
   
130
    interrupts_enable();
130
    interrupts_enable();
131
    dprintf("arch_post_mm_init end()\n");
131
    dprintf("arch_post_mm_init end()\n");
132
//  while(1);
-
 
133
   
132
 
134
}
133
}
135
 
134
 
136
void arch_post_cpu_init(void)
135
void arch_post_cpu_init(void)
137
{
136
{
138
    /* TODO */
137
    /* TODO */