Ignore:
Timestamp:
2006-09-07T19:56:44Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ab1ae2d9
Parents:
801579fe
Message:

sparc64 work.

  • Changes to enable userspace keyboard drivers.
  • Fix z8530 initialization (i.e. clear any pending Tx interrupts).
  • Experimental support for framebuffers with inverted colors.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/trap/interrupt.c

    r801579fe r253f35a1  
    4343#include <arch/asm.h>
    4444#include <arch/barrier.h>
    45 
     45#include <print.h>
    4646#include <genarch/kbd/z8530.h>
    4747
     
    6262void irq_ipc_bind_arch(unative_t irq)
    6363{
    64         /* TODO */
     64#ifdef CONFIG_Z8530
     65        z8530_belongs_to_kernel = false;
     66#endif
    6567}
    6668
     
    8385                 * interrupt traps. Call the interrupt handler directly.
    8486                 */
     87
     88                if (z8530_belongs_to_kernel)
     89                        z8530_interrupt();
     90                else
     91                        ipc_irq_send_notif(0);
    8592                fhc_uart_reset();
    86                 z8530_interrupt();
    8793                break;
     94
    8895#endif
    8996        }
Note: See TracChangeset for help on using the changeset viewer.