Lines Matching refs:Addr

131 # define read_2ubyte_unaligned(Dbg, Addr) \
133 ? bswap_16 (*((const uint16_t *) (Addr))) \
134 : *((const uint16_t *) (Addr)))
135 # define read_2sbyte_unaligned(Dbg, Addr) \
137 ? (int16_t) bswap_16 (*((const int16_t *) (Addr))) \
138 : *((const int16_t *) (Addr)))
140 # define read_4ubyte_unaligned_noncvt(Addr) \
141 *((const uint32_t *) (Addr))
142 # define read_4ubyte_unaligned(Dbg, Addr) \
144 ? bswap_32 (*((const uint32_t *) (Addr))) \
145 : *((const uint32_t *) (Addr)))
146 # define read_4sbyte_unaligned(Dbg, Addr) \
148 ? (int32_t) bswap_32 (*((const int32_t *) (Addr))) \
149 : *((const int32_t *) (Addr)))
151 # define read_8ubyte_unaligned_noncvt(Addr) \
152 *((const uint64_t *) (Addr))
153 # define read_8ubyte_unaligned(Dbg, Addr) \
155 ? bswap_64 (*((const uint64_t *) (Addr))) \
156 : *((const uint64_t *) (Addr)))
157 # define read_8sbyte_unaligned(Dbg, Addr) \
159 ? (int64_t) bswap_64 (*((const int64_t *) (Addr))) \
160 : *((const int64_t *) (Addr)))
175 # define read_2ubyte_unaligned(Dbg, Addr) \
176 read_2ubyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
177 # define read_2sbyte_unaligned(Dbg, Addr) \
178 read_2sbyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
179 # define read_4ubyte_unaligned(Dbg, Addr) \
180 read_4ubyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
181 # define read_4sbyte_unaligned(Dbg, Addr) \
182 read_4sbyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
183 # define read_8ubyte_unaligned(Dbg, Addr) \
184 read_8ubyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
185 # define read_8sbyte_unaligned(Dbg, Addr) \
186 read_8sbyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
254 #define read_2ubyte_unaligned_inc(Dbg, Addr) \
255 ({ uint16_t t_ = read_2ubyte_unaligned (Dbg, Addr); \
256 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 2); \
258 #define read_2sbyte_unaligned_inc(Dbg, Addr) \
259 ({ int16_t t_ = read_2sbyte_unaligned (Dbg, Addr); \
260 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 2); \
263 #define read_4ubyte_unaligned_inc(Dbg, Addr) \
264 ({ uint32_t t_ = read_4ubyte_unaligned (Dbg, Addr); \
265 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 4); \
267 #define read_4sbyte_unaligned_inc(Dbg, Addr) \
268 ({ int32_t t_ = read_4sbyte_unaligned (Dbg, Addr); \
269 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 4); \
272 #define read_8ubyte_unaligned_inc(Dbg, Addr) \
273 ({ uint64_t t_ = read_8ubyte_unaligned (Dbg, Addr); \
274 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 8); \
276 #define read_8sbyte_unaligned_inc(Dbg, Addr) \
277 ({ int64_t t_ = read_8sbyte_unaligned (Dbg, Addr); \
278 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 8); \
282 #define read_addr_unaligned_inc(Nbytes, Dbg, Addr) \
284 ((Nbytes) == 4 ? read_4ubyte_unaligned_inc (Dbg, Addr) \
285 : read_8ubyte_unaligned_inc (Dbg, Addr)))