Changeset f7a33de in mainline for kernel/arch/sparc32/src/exception.c


Ignore:
Timestamp:
2013-12-12T21:30:37Z (10 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0c2d9bb
Parents:
382fb4ba
Message:

Enable interrupts support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc32/src/exception.c

    r382fb4ba rf7a33de  
    4040#include <arch/exception.h>
    4141#include <arch/regwin.h>
     42#include <arch/machine_func.h>
    4243#include <syscall/syscall.h>
    4344#include <interrupt.h>
     
    149150//      printf("syscall %d\n", id);
    150151//      printf("args: 0x%08x 0x%08x 0x%08x 0x%08x 0x%08x 0x%08x\n", a1, a2, a3, a4, a5, a6);
    151         if (id == 0x4f) {
    152             flush_windows();
    153             return 0;
    154         }
     152//        if (id == 0x4f) {
     153  //          flush_windows();
     154    //        return 0;
     155      //  }
    155156   
    156157        return syscall_handler(a1, a2, a3, a4, a5, a6, id);
     158}
     159
     160void irq_exception(unsigned int nr, istate_t *istate)
     161{
     162        machine_irq_exception(nr, istate);
    157163}
    158164
Note: See TracChangeset for help on using the changeset viewer.