Document default values for some config options. (#461)
Change-Id: I4373b9487ea11664d3a6ea7ea10e99ea6d337232regcache
parent
3967f48843
commit
cbb15587dc
|
@ -9468,20 +9468,20 @@ This is used to access 64-bit floating point registers on 32-bit targets.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Command {riscv set_prefer_sba} on|off
|
@deffn Command {riscv set_prefer_sba} on|off
|
||||||
When on, prefer to use System Bus Access to access memory. When off, prefer to
|
When on, prefer to use System Bus Access to access memory. When off (default),
|
||||||
use the Program Buffer to access memory.
|
prefer to use the Program Buffer to access memory.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Command {riscv set_enable_virtual} on|off
|
@deffn Command {riscv set_enable_virtual} on|off
|
||||||
When on, memory accesses are performed on physical or virtual memory depending
|
When on, memory accesses are performed on physical or virtual memory depending
|
||||||
on the current system configuration. When off, all memory accessses are performed
|
on the current system configuration. When off (default), all memory accessses are performed
|
||||||
on physical memory.
|
on physical memory.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Command {riscv set_enable_virt2phys} on|off
|
@deffn Command {riscv set_enable_virt2phys} on|off
|
||||||
When on, memory accesses are performed on physical or virtual memory depending
|
When on (default), memory accesses are performed on physical or virtual memory
|
||||||
on the current satp configuration. When off, all memory accessses are performed
|
depending on the current satp configuration. When off, all memory accessses are
|
||||||
on physical memory.
|
performed on physical memory.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn Command {riscv resume_order} normal|reversed
|
@deffn Command {riscv resume_order} normal|reversed
|
||||||
|
|
|
@ -2541,7 +2541,7 @@ static const struct command_registration riscv_exec_command_handlers[] = {
|
||||||
.mode = COMMAND_ANY,
|
.mode = COMMAND_ANY,
|
||||||
.usage = "riscv set_prefer_sba on|off",
|
.usage = "riscv set_prefer_sba on|off",
|
||||||
.help = "When on, prefer to use System Bus Access to access memory. "
|
.help = "When on, prefer to use System Bus Access to access memory. "
|
||||||
"When off, prefer to use the Program Buffer to access memory."
|
"When off (default), prefer to use the Program Buffer to access memory."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "set_enable_virtual",
|
.name = "set_enable_virtual",
|
||||||
|
@ -2550,7 +2550,7 @@ static const struct command_registration riscv_exec_command_handlers[] = {
|
||||||
.usage = "riscv set_enable_virtual on|off",
|
.usage = "riscv set_enable_virtual on|off",
|
||||||
.help = "When on, memory accesses are performed on physical or virtual "
|
.help = "When on, memory accesses are performed on physical or virtual "
|
||||||
"memory depending on the current system configuration. "
|
"memory depending on the current system configuration. "
|
||||||
"When off, all memory accessses are performed on physical memory."
|
"When off (default), all memory accessses are performed on physical memory."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "expose_csrs",
|
.name = "expose_csrs",
|
||||||
|
@ -2653,7 +2653,8 @@ static const struct command_registration riscv_exec_command_handlers[] = {
|
||||||
.handler = riscv_set_enable_virt2phys,
|
.handler = riscv_set_enable_virt2phys,
|
||||||
.mode = COMMAND_ANY,
|
.mode = COMMAND_ANY,
|
||||||
.usage = "riscv set_enable_virt2phys on|off",
|
.usage = "riscv set_enable_virt2phys on|off",
|
||||||
.help = "Enable translation from virtual address to physical address."
|
.help = "When on (default), enable translation from virtual address to "
|
||||||
|
"physical address."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "set_ebreakm",
|
.name = "set_ebreakm",
|
||||||
|
|
Loading…
Reference in New Issue