Browse Source

Use brace initializers for debug_module_config_t defaults

pull/1526/head
Jerry Zhao 3 years ago
parent
commit
4b30f35aae
  1. 18
      riscv/debug_module.h

18
riscv/debug_module.h

@ -14,15 +14,15 @@ class processor_t;
typedef struct {
// Size of program_buffer in 32-bit words, as exposed to the rest of the
// world.
unsigned progbufsize;
unsigned max_sba_data_width;
bool require_authentication;
unsigned abstract_rti;
bool support_hasel;
bool support_abstract_csr_access;
bool support_abstract_fpr_access;
bool support_haltgroups;
bool support_impebreak;
unsigned progbufsize = 2;
unsigned max_sba_data_width = 0;
bool require_authentication = false;
unsigned abstract_rti = 0;
bool support_hasel = true;
bool support_abstract_csr_access = true;
bool support_abstract_fpr_access = true;
bool support_haltgroups = true;
bool support_impebreak = true;
} debug_module_config_t;
typedef struct {

Loading…
Cancel
Save