• Home
  • Raw
  • Download

Lines Matching refs:Addr

199 # define read_2ubyte_unaligned(Dbg, Addr) \  argument
201 ? bswap_16 (*((const uint16_t *) (Addr))) \
202 : *((const uint16_t *) (Addr)))
203 # define read_2sbyte_unaligned(Dbg, Addr) \ argument
205 ? (int16_t) bswap_16 (*((const int16_t *) (Addr))) \
206 : *((const int16_t *) (Addr)))
208 # define read_4ubyte_unaligned_noncvt(Addr) \ argument
209 *((const uint32_t *) (Addr))
210 # define read_4ubyte_unaligned(Dbg, Addr) \ argument
212 ? bswap_32 (*((const uint32_t *) (Addr))) \
213 : *((const uint32_t *) (Addr)))
214 # define read_4sbyte_unaligned(Dbg, Addr) \ argument
216 ? (int32_t) bswap_32 (*((const int32_t *) (Addr))) \
217 : *((const int32_t *) (Addr)))
219 # define read_8ubyte_unaligned_noncvt(Addr) \ argument
220 *((const uint64_t *) (Addr))
221 # define read_8ubyte_unaligned(Dbg, Addr) \ argument
223 ? bswap_64 (*((const uint64_t *) (Addr))) \
224 : *((const uint64_t *) (Addr)))
225 # define read_8sbyte_unaligned(Dbg, Addr) \ argument
227 ? (int64_t) bswap_64 (*((const int64_t *) (Addr))) \
228 : *((const int64_t *) (Addr)))
243 # define read_2ubyte_unaligned(Dbg, Addr) \ argument
244 read_2ubyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
245 # define read_2sbyte_unaligned(Dbg, Addr) \ argument
246 read_2sbyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
247 # define read_4ubyte_unaligned(Dbg, Addr) \ argument
248 read_4ubyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
249 # define read_4sbyte_unaligned(Dbg, Addr) \ argument
250 read_4sbyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
251 # define read_8ubyte_unaligned(Dbg, Addr) \ argument
252 read_8ubyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
253 # define read_8sbyte_unaligned(Dbg, Addr) \ argument
254 read_8sbyte_unaligned_1 ((Dbg)->other_byte_order, (Addr))
322 #define read_2ubyte_unaligned_inc(Dbg, Addr) \ argument
323 ({ uint16_t t_ = read_2ubyte_unaligned (Dbg, Addr); \
324 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 2); \
326 #define read_2sbyte_unaligned_inc(Dbg, Addr) \ argument
327 ({ int16_t t_ = read_2sbyte_unaligned (Dbg, Addr); \
328 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 2); \
331 #define read_4ubyte_unaligned_inc(Dbg, Addr) \ argument
332 ({ uint32_t t_ = read_4ubyte_unaligned (Dbg, Addr); \
333 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 4); \
335 #define read_4sbyte_unaligned_inc(Dbg, Addr) \ argument
336 ({ int32_t t_ = read_4sbyte_unaligned (Dbg, Addr); \
337 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 4); \
340 #define read_8ubyte_unaligned_inc(Dbg, Addr) \ argument
341 ({ uint64_t t_ = read_8ubyte_unaligned (Dbg, Addr); \
342 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 8); \
344 #define read_8sbyte_unaligned_inc(Dbg, Addr) \ argument
345 ({ int64_t t_ = read_8sbyte_unaligned (Dbg, Addr); \
346 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 8); \
396 #define read_3ubyte_unaligned_inc(Dbg, Addr) \ argument
397 ({ uint32_t t_ = read_3ubyte_unaligned (Dbg, Addr); \
398 Addr = (__typeof (Addr)) (((uintptr_t) (Addr)) + 3); \
401 #define read_addr_unaligned_inc(Nbytes, Dbg, Addr) \ argument
403 ((Nbytes) == 4 ? read_4ubyte_unaligned_inc (Dbg, Addr) \
404 : read_8ubyte_unaligned_inc (Dbg, Addr)))