Changeset 1120276 in mainline for arch/sparc64/include/asm.h


Ignore:
Timestamp:
2005-12-27T12:03:29Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7614565
Parents:
39494010
Message:

sparc64 work.
Tick interrupt support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/include/asm.h

    r39494010 r1120276  
    123123}
    124124
     125/** Write CLEAR_SOFTINT Register.
     126 *
     127 * Bits set in CLEAR_SOFTINT register will be cleared in SOFTINT register.
     128 *
     129 * @param New value of CLEAR_SOFTINT register.
     130 */
     131static inline void clear_softint_write(__u64 v)
     132{
     133        __asm__ volatile ("wr %0, %1, %%clear_softint\n" : : "r" (v), "i" (0));
     134}
     135
    125136/** Enable interrupts.
    126137 *
Note: See TracChangeset for help on using the changeset viewer.