Changeset 769e8c1 in mainline
- Timestamp:
- 2006-02-23T00:07:34Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0d3ff9a
- Parents:
- ab46edb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/faddr.h
rab46edb r769e8c1 44 44 inline __address FADDR(void (* fptr)(void)) { 45 45 __address faddr; 46 46 47 /*Deprecated assembler version*/ 48 /* 47 49 __asm__( 48 "nop 0;;"49 "nop 0;;"50 "nop 0;;"51 "nop 0;;"52 "nop 0;;"53 "nop 0;;"54 "nop 0;;"55 "nop 0;;"56 50 "ld8 %0 = [%1]\n\t" 57 "nop 0;;"58 "nop 0;;"59 "nop 0;;"60 "nop 0;;"61 "nop 0;;"62 "nop 0;;"63 "nop 0;;"64 "nop 0;;"65 66 51 : "=r" (faddr) 67 52 : "r" (fptr) 68 53 ); 69 54 */ 70 55 71 /*faddr = *((__address *)(fptr));;*/56 faddr = *((__address *)(fptr));; 72 57 return faddr; 73 58 }
Note:
See TracChangeset
for help on using the changeset viewer.