From abedf3db3774b54ee4ed227e3ae69e55fb0ff76c Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 26 May 2005 07:43:25 +0000 Subject: 2005-05-26 Martin Hunt * current.c (_stp_sprint_regs): Implement for i386. * sym.c (_stp_symbol_sprint): Check name before trying to print it. (_stp_symbol_print): Change to macro that calls _stp_symbol_sprint(). --- runtime/map.h | 47 ++++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 19 deletions(-) (limited to 'runtime/map.h') diff --git a/runtime/map.h b/runtime/map.h index e48ec574..6de06f17 100644 --- a/runtime/map.h +++ b/runtime/map.h @@ -5,19 +5,25 @@ * @brief Header file for maps and lists */ /** @addtogroup maps - * @todo Needs to be made SMP-safe for when the big lock is removed from kprobes. + * @todo Needs a spinlock variable to help when locks are required on the map. * @{ */ +/** This sets the size of the hash table. */ #ifndef HASH_TABLE_BITS #define HASH_TABLE_BITS 8 +/** This sets the size of the hash table. */ #define HASH_TABLE_SIZE (1<