Changeset 7208b6c in mainline for kernel/arch/ia64/include/asm.h


Ignore:
Timestamp:
2008-02-09T10:31:11Z (16 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a4884c70
Parents:
71eef11
Message:

Basic IA64 boot and kernel suport for real machines

File:
1 edited

Legend:

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

    r71eef11 r7208b6c  
    4141
    4242
    43 #define IA64_IOSPACE_ADDRESS 0xE0000FFFFC000000ULL
     43#define IA64_IOSPACE_ADDRESS 0xE001000000000000ULL
    4444
    4545static inline void  outb(uint64_t port,uint8_t v)
    4646{
    4747        *((char *)(IA64_IOSPACE_ADDRESS + ( (port & 0xfff) | ( (port >> 2) << 12 )))) = v;
     48
    4849        asm volatile ("mf\n" ::: "memory");
    4950}
     
    5354{
    5455        asm volatile ("mf\n" ::: "memory");
     56
    5557        return *((char *)(IA64_IOSPACE_ADDRESS + ( (port & 0xfff) | ( (port >> 2) << 12 ))));
    5658}
Note: See TracChangeset for help on using the changeset viewer.