Changeset dbd1059 in mainline for arch/ia64/include/asm.h


Ignore:
Timestamp:
2005-11-03T12:12:47Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0259524
Parents:
169c408
Message:

IA-64 work.
Exclude external interrupt from universal_handler() scope.

File:
1 edited

Legend:

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

    r169c408 rdbd1059  
    4848}
    4949
     50/** Read IVR (External Interrupt Vector Register)
     51 *
     52 * @return Highest priority, pending, unmasked external interrupt vector.
     53 */
     54static inline __u8 read_ivr(void)
     55{
     56        __u64 v;
     57       
     58        __asm__ volatile ("mov %0 = cr65\n" : "=r" (v));
     59       
     60        return (__u8) (v & 0xf);
     61}
     62
    5063
    5164void cpu_sleep(void);
Note: See TracChangeset for help on using the changeset viewer.