Changeset 2a06e2f in mainline
- Timestamp:
- 2007-09-09T21:09:14Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ef042e0
- Parents:
- 0e9463df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/include/asm.h
r0e9463df r2a06e2f 40 40 #include <arch/register.h> 41 41 42 43 #define IA64_IOSPACE_ADDRESS 0xE0000FFFFC000000ULL 44 45 static inline void outb(uint64_t port,uint8_t v) 46 { 47 *((char *)(IA64_IOSPACE_ADDRESS + ( (port & 0xfff) | ( (port >> 2) << 12 )))) = v; 48 asm volatile ("mf\n" ::: "memory"); 49 } 50 51 52 static inline uint8_t inb(uint64_t port) 53 { 54 asm volatile ("mf\n" ::: "memory"); 55 return *((char *)(IA64_IOSPACE_ADDRESS + ( (port & 0xfff) | ( (port >> 2) << 12 )))); 56 } 57 58 59 42 60 /** Return base address of current stack 43 61 *
Note:
See TracChangeset
for help on using the changeset viewer.