Changeset ca123838 in mainline
- Timestamp:
- 2010-02-10T23:31:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b32c604f
- Parents:
- e2ae2fc
- Location:
- uspace/lib/libc/arch/ia64/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/ia64/include/faddr.h
re2ae2fc rca123838 27 27 */ 28 28 29 /** @addtogroup libcia64 29 /** @addtogroup libcia64 30 30 * @{ 31 31 */ … … 38 38 #include <libarch/types.h> 39 39 40 /** 40 /** 41 41 * 42 42 * Calculate absolute address of function 43 43 * referenced by fptr pointer. 44 44 * 45 * @param f Function pointer.45 * @param fptr Function pointer. 46 46 * 47 47 */ 48 #define FADDR(f ) (*((uintptr_t *)(f)));48 #define FADDR(fptr) (((fncptr_t *) (fptr))->fnc) 49 49 50 50 #endif -
uspace/lib/libc/arch/ia64/include/fibril.h
re2ae2fc rca123838 106 106 uint64_t pr; 107 107 108 __r128f2 __attribute__ ((aligned(16)));109 __r128f3;110 __r128f4;111 __r128f5;108 uint128_t f2 __attribute__ ((aligned(16))); 109 uint128_t f3; 110 uint128_t f4; 111 uint128_t f5; 112 112 113 __r128f16;114 __r128f17;115 __r128f18;116 __r128f19;117 __r128f20;118 __r128f21;119 __r128f22;120 __r128f23;121 __r128f24;122 __r128f25;123 __r128f26;124 __r128f27;125 __r128f28;126 __r128f29;127 __r128f30;128 __r128f31;113 uint128_t f16; 114 uint128_t f17; 115 uint128_t f18; 116 uint128_t f19; 117 uint128_t f20; 118 uint128_t f21; 119 uint128_t f22; 120 uint128_t f23; 121 uint128_t f24; 122 uint128_t f25; 123 uint128_t f26; 124 uint128_t f27; 125 uint128_t f28; 126 uint128_t f29; 127 uint128_t f30; 128 uint128_t f31; 129 129 130 130 } context_t; -
uspace/lib/libc/arch/ia64/include/types.h
re2ae2fc rca123838 27 27 */ 28 28 29 /** @addtogroup libcia64 29 /** @addtogroup libcia64 30 30 * @{ 31 31 */ … … 50 50 typedef unsigned long int uint64_t; 51 51 52 typedef struct { 53 uint64_t lo; 54 uint64_t hi; 55 } uint128_t; 56 52 57 typedef int64_t ssize_t; 53 58 typedef uint64_t size_t; … … 55 60 typedef uint64_t uintptr_t; 56 61 57 typedef unsigned char __r8; /* Reserve byte */ 58 typedef unsigned short __r16; 59 typedef unsigned int __r32; 60 typedef unsigned long __r64; 61 62 typedef struct __r128{ 63 __r64 lo; 64 __r64 hi; 65 } __r128; 62 typedef struct { 63 uintptr_t fnc; 64 uintptr_t gp; 65 } __attribute__((may_alias)) fncptr_t; 66 66 67 67 #endif
Note:
See TracChangeset
for help on using the changeset viewer.