Changeset 0d107f31 in mainline for kernel/genarch/src/kbd/ns16550.c


Ignore:
Timestamp:
2006-10-13T20:42:54Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7dcf22a
Parents:
8ce8499
Message:

Prototypical implementation of new IRQ redirector in sparc64.
The new code can support shared IRQs in kernel (and multiple IRQs per device).
Userspace support is yet to be written.
The only architecture that uses this code is actually sparc64 only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/kbd/ns16550.c

    r8ce8499 r0d107f31  
    4040#include <genarch/kbd/scanc_sun.h>
    4141#include <arch/drivers/ns16550.h>
     42#include <irq.h>
    4243#include <arch/interrupt.h>
    4344#include <cpu.h>
     
    161162}
    162163
     164irq_ownership_t ns16550_claim(void)
     165{
     166        /* TODO */
     167        return IRQ_ACCEPT;
     168}
     169
     170void ns16550_irq_handler(irq_t *irq, void *arg, ...)
     171{
     172        panic("Not yet implemented.\n");
     173}
     174
    163175/** @}
    164176 */
Note: See TracChangeset for help on using the changeset viewer.