Subversion Repositories HelenOS-historic

Rev

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

Rev 28 Rev 29
Line 41... Line 41...
41
#include <arch/context.h>
41
#include <arch/context.h>
42
 
42
 
43
#include <config.h>
43
#include <config.h>
44
 
44
 
45
#include <arch/interrupt.h>
45
#include <arch/interrupt.h>
46
 
-
 
47
#include <arch/asm.h>
46
#include <arch/asm.h>
-
 
47
#include <arch/acpi/acpi.h>
48
 
48
 
49
void write_dr0(__u32 v)
49
void write_dr0(__u32 v)
50
{
50
{
51
    __asm__("movl %0,%%dr0" : : "r" (v));
51
    __asm__("movl %0,%%dr0" : : "r" (v));
52
}
52
}
Line 82... Line 82...
82
 
82
 
83
void arch_post_mm_init()
83
void arch_post_mm_init()
84
{
84
{
85
    if (config.cpu_active == 1) {
85
    if (config.cpu_active == 1) {
86
        ega_init(); /* video */
86
        ega_init(); /* video */
-
 
87
        acpi_init();
87
    }
88
    }
88
}
89
}
89
 
90
 
90
void calibrate_delay_loop(void)
91
void calibrate_delay_loop(void)
91
{
92
{