Mercurial > hg > forks > dxa
diff proto.h @ 4:0990d9322fc8
Implement address-ranged labels. Breaks compatibility of label files.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 25 Feb 2015 04:15:07 +0200 |
parents | ec2f8f6f1dc9 |
children | a2a81589380d |
line wrap: on
line diff
--- a/proto.h Wed Feb 25 04:13:08 2015 +0200 +++ b/proto.h Wed Feb 25 04:15:07 2015 +0200 @@ -52,8 +52,9 @@ /* label.c */ -void AddLabel(ADDR_T address, char *name); -char *Label(ADDR_T address, int admode); +int IsInsideRegion(ADDR_T address); +void AddLabel(ADDR_T address, char *name, int is_range, ADDR_T len); +char *Label(ADDR_T address, int admode, int allow_range); void Collect(void); /* garbage collection */ /* vector.c */