Subversion Repositories HelenOS

Rev

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

Rev 1952 Rev 1959
Line 119... Line 119...
119
        else
119
        else
120
            traps[i].flags = 0;
120
            traps[i].flags = 0;
121
       
121
       
122
        traps[i].cs = XEN_CS;
122
        traps[i].cs = XEN_CS;
123
        traps[i].address = trap;
123
        traps[i].address = trap;
124
        exc_register(i, "undef", (iroutine) null_interrupt);
-
 
125
    }
124
    }
126
    traps[IDT_ITEMS].vector = 0;
125
    traps[IDT_ITEMS].vector = 0;
127
    traps[IDT_ITEMS].flags = 0;
126
    traps[IDT_ITEMS].flags = 0;
128
    traps[IDT_ITEMS].cs = 0;
127
    traps[IDT_ITEMS].cs = 0;
129
    traps[IDT_ITEMS].address = NULL;
128
    traps[IDT_ITEMS].address = NULL;
130
   
-
 
131
    exc_register(13, "gp_fault", (iroutine) gp_fault);
-
 
132
    exc_register( 7, "nm_fault", (iroutine) nm_fault);
-
 
133
    exc_register(12, "ss_fault", (iroutine) ss_fault);
-
 
134
    exc_register(19, "simd_fp", (iroutine) simd_fp_exception);
-
 
135
}
129
}
136
 
130
 
137
 
131
 
138
/* Clean IOPL(12,13) and NT(14) flags in EFLAGS register */
132
/* Clean IOPL(12,13) and NT(14) flags in EFLAGS register */
139
static void clean_IOPL_NT_flags(void)
133
static void clean_IOPL_NT_flags(void)