summaryrefslogtreecommitdiff
path: root/utils/hwstub/tools/init.lua
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2014-11-26 00:00:11 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2014-11-28 19:38:02 +0100
commite99c036ed1b96abf0c4b196e5f58ef93b7effdfe (patch)
tree0d5f487d19ece13a815e7fae12a91abfaaa11221 /utils/hwstub/tools/init.lua
parent9439635aa27e7604d01dddb30a505a3402f3b4df (diff)
downloadrockbox-e99c036ed1b96abf0c4b196e5f58ef93b7effdfe.zip
rockbox-e99c036ed1b96abf0c4b196e5f58ef93b7effdfe.tar.gz
rockbox-e99c036ed1b96abf0c4b196e5f58ef93b7effdfe.tar.bz2
rockbox-e99c036ed1b96abf0c4b196e5f58ef93b7effdfe.tar.xz
hwstub_shell: add support for call and jump
Change-Id: Ie09d0db21831b79255da858bada7382a08ff4eef Reviewed-on: http://gerrit.rockbox.org/1052 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested: Marcin Bukat <marcin.bukat@gmail.com>
Diffstat (limited to 'utils/hwstub/tools/init.lua')
-rw-r--r--utils/hwstub/tools/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/hwstub/tools/init.lua b/utils/hwstub/tools/init.lua
index aaca8b6..323f369 100644
--- a/utils/hwstub/tools/init.lua
+++ b/utils/hwstub/tools/init.lua
@@ -40,6 +40,8 @@ do
h:add("It contains some information about the device and the following methods.");
h:add("* read8/16/32(a) reads a 8/16/32-bit integer at address a atomically");
h:add("* write8/16/32(a, v) writes the 8/16/32-bit integer v at address a atomically");
+ h:add("* jump(a) jump to specified address");
+ h:add("* call(a) call function at specified address and return to hwstub");
h:add("* print_log() prints the device log");
h = HELP:create_topic("HW");