Ignore:
Timestamp:
2006-10-19T22:58:53Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deb14fb
Parents:
f0450658
Message:

sparc64 work.

  • Improve panic screen on data_access_exception by dumping contents of DSFSR and DSFAR.
  • Change the FHC enable interrupt code to only set the IMAP_V bit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/fhc.c

    rf0450658 r8cee705  
    4141
    4242#include <arch/drivers/fhc.h>
     43#include <arch/trap/interrupt.h>
    4344#include <arch/mm/page.h>
    4445#include <mm/slab.h>
     
    4647#include <typedefs.h>
    4748#include <genarch/ofw/ofw_tree.h>
    48 #include <genarch/kbd/z8530.h>
    4949
    5050fhc_t *central_fhc = NULL;
     
    9595        switch (inr) {
    9696        case FHC_UART_INR:
    97                 fhc->uart_imap[FHC_UART_ICLR] = 0x0;
    98                 fhc->uart_imap[FHC_UART_IMAP] = 0x80000000;
     97                fhc->uart_imap[FHC_UART_IMAP] |= IMAP_V_MASK;
    9998                break;
    10099        default:
Note: See TracChangeset for help on using the changeset viewer.