Changeset 0f250f9 in mainline for arch/ia64/include/faddr.h
- Timestamp:
- 2006-03-17T18:07:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 69f293e
- Parents:
- 6c6a19e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/faddr.h
r6c6a19e6 r0f250f9 32 32 #include <arch/types.h> 33 33 34 static __address FADDR(void (* fptr)(void));35 36 34 /** 37 35 * … … 42 40 * 43 41 */ 44 inline __address FADDR(void (* fptr)(void)) {42 static inline __address FADDR(void (* fptr)()) { 45 43 __address faddr; 46 47 /*Deprecated assembler version*/48 /*49 __asm__(50 "ld8 %0 = [%1]\n\t"51 : "=r" (faddr)52 : "r" (fptr)53 );54 */55 44 56 45 faddr = *((__address *)(fptr));;
Note:
See TracChangeset
for help on using the changeset viewer.