Subversion Repositories HelenOS

Rev

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

Rev 435 Rev 444
Line 41... Line 41...
41
{
41
{
42
    cr_ivr_t ivr;
42
    cr_ivr_t ivr;
43
   
43
   
44
    ivr.value = ivr_read();
44
    ivr.value = ivr_read();
45
    srlz_d();
45
    srlz_d();
46
   
46
 
-
 
47
/*  printf("Interrupr\n");
-
 
48
*/ 
47
    switch(ivr.vector) {
49
    switch(ivr.vector) {
48
        case INTERRUPT_TIMER:
50
        case INTERRUPT_TIMER:
49
        it_interrupt();
51
        it_interrupt();
50
            panic("cpu%d: timer interrupt\n", CPU->id);
-
 
51
            break;
52
            break;
52
        case INTERRUPT_SPURIOUS:
53
        case INTERRUPT_SPURIOUS:
53
            printf("cpu%d: spurious interrupt\n", CPU->id);
54
            printf("cpu%d: spurious interrupt\n", CPU->id);
54
        break;
55
        break;
55
        default:
56
        default: