Changeset b5e68c8 in mainline for uspace/lib/c/include/rtld/rtld_debug.h
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/rtld/rtld_debug.h
re80329d6 rb5e68c8 1 1 /* 2 * Copyright (c) 20 05 Sergey Bondari2 * Copyright (c) 2011 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup arm3229 /** @addtogroup libc 30 30 * @{ 31 31 */ 32 32 /** @file 33 * @brief Memory manipulating functions declarations.34 33 */ 35 34 36 #ifndef KERN_arm32_MEMSTR_H_37 #define KERN_arm32_MEMSTR_H_35 #ifndef LIBC_RTLD_RTLD_DEBUG_H_ 36 #define LIBC_RTLD_RTLD_DEBUG_H_ 38 37 39 #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) 38 /* Define to enable debugging mode. */ 39 #undef RTLD_DEBUG 40 40 41 extern void memsetw(void *, size_t, uint16_t); 42 extern void memsetb(void *, size_t, uint8_t); 41 #ifdef RTLD_DEBUG 42 #define DPRINTF(format, ...) printf(format, ##__VA_ARGS__) 43 #else 44 #define DPRINTF(format, ...) if (0) printf(format, ##__VA_ARGS__) 45 #endif 43 46 44 47 #endif
Note:
See TracChangeset
for help on using the changeset viewer.