Ignore:
Timestamp:
2006-10-06T22:37:15Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
33b1903
Parents:
233af8c5
Message:

Add support for interrupt mapping in the Sabre PCI controller.
Add support for PCI and EBUS interrupt mapping via the OpenFirmware device tree.
Unfortunatelly, the code is not capable enough to earn single ns16550 interrupt.
I suspect something needs to be enabled in the EBUS registers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/trap/interrupt.h

    r233af8c5 re2cc9a0  
    4040#include <arch/trap/trap_table.h>
    4141#include <arch/stack.h>
     42
     43/* IMAP register bits */
     44#define IGN_MASK        0x7c0
     45#define INO_MASK        0x1f
     46#define IMAP_V_MASK     (1ULL<<31)
     47
     48#define IGN_SHIFT       6
     49
    4250
    4351/* Interrupt ASI registers. */
Note: See TracChangeset for help on using the changeset viewer.