diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-02-04 12:51:02 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-02-04 12:51:02 +0100 |
commit | 4507e14b35a496b913ff35e72ad9ae348e69cf38 (patch) | |
tree | 0f9fff258d9434e641f1715f99a054f7ac5bf99b /include/mach_debug/mach_debug_types.h | |
parent | a693305ea05c405fe05b09061eee1fafc08d9e30 (diff) | |
parent | 7353f589daccb7fb61880d6994f6471e103da902 (diff) |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach
Diffstat (limited to 'include/mach_debug/mach_debug_types.h')
-rw-r--r-- | include/mach_debug/mach_debug_types.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/mach_debug/mach_debug_types.h b/include/mach_debug/mach_debug_types.h index 5d4efcd..9c7d1fd 100644 --- a/include/mach_debug/mach_debug_types.h +++ b/include/mach_debug/mach_debug_types.h @@ -37,4 +37,15 @@ typedef char symtab_name_t[32]; +/* + * A fixed-length string data type intended for names given to + * kernel objects. + * + * Note that it is not guaranteed that the in-kernel data + * structure will hold KERNEL_DEBUG_NAME_MAX bytes. The given + * name will be truncated to fit into the target data structure. + */ +#define KERNEL_DEBUG_NAME_MAX (64) +typedef char kernel_debug_name_t[KERNEL_DEBUG_NAME_MAX]; + #endif /* _MACH_DEBUG_MACH_DEBUG_TYPES_H_ */ |