diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-22 10:20:14 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-22 10:27:29 -0800 |
commit | 1c619a2f12cbfe1887824d41e68e85a1c4f5a8b3 (patch) | |
tree | c4ee9d06440e5a6ed25b5665097c0b1f07af450f | |
parent | ab5ac33fd462c37e4cf5a6bc1fe5fd0631e44469 (diff) | |
download | riscv-openocd-1c619a2f12cbfe1887824d41e68e85a1c4f5a8b3.zip riscv-openocd-1c619a2f12cbfe1887824d41e68e85a1c4f5a8b3.tar.gz riscv-openocd-1c619a2f12cbfe1887824d41e68e85a1c4f5a8b3.tar.bz2 |
target: make register flags "bool"
Mostly for clarity, but it also saves code and data space.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-rw-r--r-- | src/target/register.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/register.h b/src/target/register.h index 0f8f2f4..0cd0ddf 100644 --- a/src/target/register.h +++ b/src/target/register.h @@ -29,8 +29,8 @@ struct reg { char *name; void *value; - int dirty; - int valid; + bool dirty; + bool valid; uint32_t size; void *arch_info; const struct reg_arch_type *type; |