diff options
author | Tim Newsome <tim@sifive.com> | 2017-10-12 12:05:26 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2017-12-11 13:21:47 -0800 |
commit | fa09d8179f00a731f6a39d039d97188b0ec758d6 (patch) | |
tree | 87ccf7d68c7a57d71b8d82f03d10396e21aa42ce /riscv/debug_module.h | |
parent | 46a67860915391458d7cc8cb93248059df20b8f2 (diff) | |
download | spike-fa09d8179f00a731f6a39d039d97188b0ec758d6.zip spike-fa09d8179f00a731f6a39d039d97188b0ec758d6.tar.gz spike-fa09d8179f00a731f6a39d039d97188b0ec758d6.tar.bz2 |
Update to latest debug_defines.h.
Diffstat (limited to 'riscv/debug_module.h')
-rw-r--r-- | riscv/debug_module.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/riscv/debug_module.h b/riscv/debug_module.h index 8b209fb..f6f2009 100644 --- a/riscv/debug_module.h +++ b/riscv/debug_module.h @@ -31,8 +31,7 @@ typedef struct { bool authenticated; bool authbusy; bool cfgstrvalid; - unsigned versionhi; - unsigned versionlo; + unsigned version; } dmstatus_t; typedef enum cmderr { @@ -47,7 +46,7 @@ typedef enum cmderr { typedef struct { bool busy; unsigned datacount; - unsigned progsize; + unsigned progbufsize; cmderr_t cmderr; } abstractcs_t; @@ -59,7 +58,7 @@ typedef struct { class debug_module_t : public abstract_device_t { public: - debug_module_t(sim_t *sim, unsigned progsize); + debug_module_t(sim_t *sim, unsigned progbufsize); ~debug_module_t(); void add_device(bus_t *bus); @@ -77,7 +76,7 @@ class debug_module_t : public abstract_device_t static const unsigned datasize = 2; // Size of program_buffer in 32-bit words, as exposed to the rest of the // world. - unsigned progsize; + unsigned progbufsize; // Actual size of the program buffer, which is 1 word bigger than we let on // to implement the implicit ebreak at the end. unsigned program_buffer_bytes; |