Changeset 75d5721 in mainline for arch/ia64/src/interrupt_handler.c


Ignore:
Timestamp:
2005-09-01T08:18:26Z (20 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dbe9ff0
Parents:
d9f81af3
Message:

Universal exception handler and all exceptions routine to call it added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/interrupt_handler.c

    rd9f81af3 r75d5721  
    3030
    3131#include <panic.h>
     32#include <arch/types.h>
    3233
    3334
     
    4647}
    4748
     49
     50void universal_handler(void);
     51void universal_handler(void)
     52{
     53        __u64 i;
     54
     55        __asm__ (
     56                "mov  %0 = r12;;"
     57                : "=r" (i)
     58                :
     59                : "r15"
     60        );
     61
     62        panic("\nException:%Q\n",i);
     63}
     64
     65
Note: See TracChangeset for help on using the changeset viewer.