summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'base.h')
-rw-r--r--base.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/base.h b/base.h
index 7af4888..51274de 100644
--- a/base.h
+++ b/base.h
@@ -18,6 +18,8 @@ typedef uint64_t Address;
#define PRIdADDR PRId64
#define PRIxADDR PRIx64
+#define MASK64(i) ((uint64_t)1 << (i))
+
typedef enum {
TYPE_U8,
TYPE_S8,
@@ -53,7 +55,7 @@ typedef struct {
Address total_memory; // total amount of memory used by process, in bytes
Map *maps;
Address memory_view_address;
- uint32_t memory_view_entries; // # of entries to show
+ uint32_t memory_view_items; // # of entries to show
unsigned nmaps;
DataType data_type;
SearchType search_type;