Ignore:
Timestamp:
2011-07-08T17:01:01Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc1a727
Parents:
4e36219 (diff), 026793d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    r4e36219 rc028b22  
    4444#include <debug.h>
    4545
    46 #define TICK_RESTART_TIME       50      /* Worst case estimate. */
    47 
    4846/** Initialize tick and stick interrupt. */
    4947void tick_init(void)
     
    5149        /* initialize TICK interrupt */
    5250        tick_compare_reg_t compare;
     51        softint_reg_t clear;
    5352
    5453        interrupt_register(14, "tick_int", tick_interrupt);
     
    5958        tick_compare_write(compare.value);
    6059
     60        clear.value = 0;
     61        clear.tick_int = 1;
     62        clear_softint_write(clear.value);
     63
    6164#if defined (US3) || defined (SUN4V)
    6265        /* disable STICK interrupts and clear any pending ones */
    6366        tick_compare_reg_t stick_compare;
    64         softint_reg_t clear;
    6567
    6668        stick_compare.value = stick_compare_read();
Note: See TracChangeset for help on using the changeset viewer.