Changeset 98492e8 in mainline


Ignore:
Timestamp:
2006-06-01T17:44:57Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3f31742
Parents:
7c95658c
Message:

Lost file

File:
1 edited

Legend:

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

    r7c95658c r98492e8  
    129129}
    130130
     131/** Read ITM (Interval Timer Match) register.
     132 *
     133 * @return Match value.
     134 */
     135static inline __u64 itm_read(void)
     136{
     137        __u64 v;
     138       
     139        __asm__ volatile ("mov %0 = cr.itm\n" : "=r" (v));
     140       
     141        return v;
     142}
     143
    131144/** Read ITV (Interval Timer Vector) register.
    132145 *
Note: See TracChangeset for help on using the changeset viewer.