Changeset f9a56c0 in mainline for kernel/arch/sparc64/include/asm.h


Ignore:
Timestamp:
2006-08-17T11:39:38Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ee289cf0
Parents:
ec2c55a
Message:

sparc64 work.
interrupt_vector trap experimental handling.
Minimal reverse-engineered FireHose Controller driver (documentation needed!).
Keyboard on Sun Enterprise is now interrupt driven. Keyboard on Sun Ultra
is still polled.

File:
1 edited

Legend:

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

    rec2c55a rf9a56c0  
    140140}
    141141
     142/** Write SET_SOFTINT Register.
     143 *
     144 * Bits set in SET_SOFTINT register will be set in SOFTINT register.
     145 *
     146 * @param v New value of SET_SOFTINT register.
     147 */
     148static inline void set_softint_write(uint64_t v)
     149{
     150        __asm__ volatile ("wr %0, %1, %%set_softint\n" : : "r" (v), "i" (0));
     151}
     152
    142153/** Enable interrupts.
    143154 *
Note: See TracChangeset for help on using the changeset viewer.