diff options
Diffstat (limited to 'cmds/dumpstate/dumpstate.h')
-rw-r--r-- | cmds/dumpstate/dumpstate.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.h b/cmds/dumpstate/dumpstate.h index b956f99..4e88e4b 100644 --- a/cmds/dumpstate/dumpstate.h +++ b/cmds/dumpstate/dumpstate.h @@ -43,6 +43,15 @@ run_command(&c, TIMEOUT); \ } +#define EXEC_XBIN(cmd) \ +{ \ + static struct Command c = { \ + "/system/xbin/" cmd, \ + { cmd, 0 } \ + }; \ + run_command(&c, TIMEOUT); \ +} + #define EXEC2(cmd, a1, a2) \ { \ static struct Command c = { \ @@ -70,6 +79,15 @@ run_command(&c, TIMEOUT); \ } +#define EXEC7(cmd, a1, a2, a3, a4, a5, a6, a7) \ +{ \ + static struct Command c = { \ + "/system/bin/" cmd, \ + { cmd, a1, a2, a3, a4, a5, a6, a7, 0 } \ + }; \ + run_command(&c, TIMEOUT); \ +} + #define EXEC8(cmd, a1, a2, a3, a4, a5, a6, a7, a8) \ { \ static struct Command c = { \ |