comparison target-utils/lunadrv/cmdtab.c @ 849:a66095c7f35f

lunadrv: add suspend and resume commands
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 18 Aug 2021 04:00:14 +0000
parents 21e0e6492cda
children 57f7db8c4f45
comparison
equal deleted inserted replaced
848:6c306705f503 849:a66095c7f35f
10 extern void cmd_r8(); 10 extern void cmd_r8();
11 extern void cmd_r16(); 11 extern void cmd_r16();
12 extern void cmd_r32(); 12 extern void cmd_r32();
13 extern void cmd_rd(); 13 extern void cmd_rd();
14 extern void cmd_rect(); 14 extern void cmd_rect();
15 extern void cmd_resume();
16 extern void cmd_suspend();
15 extern void cmd_w8(); 17 extern void cmd_w8();
16 extern void cmd_w16(); 18 extern void cmd_w16();
17 extern void cmd_w32(); 19 extern void cmd_w32();
18 extern void cmd_wr(); 20 extern void cmd_wr();
19 21
42 {"r8", cmd_r8}, 44 {"r8", cmd_r8},
43 {"r16", cmd_r16}, 45 {"r16", cmd_r16},
44 {"r32", cmd_r32}, 46 {"r32", cmd_r32},
45 {"rd", cmd_rd}, 47 {"rd", cmd_rd},
46 {"rect", cmd_rect}, 48 {"rect", cmd_rect},
49 {"resume", cmd_resume},
50 {"suspend", cmd_suspend},
47 {"w8", cmd_w8}, 51 {"w8", cmd_w8},
48 {"w16", cmd_w16}, 52 {"w16", cmd_w16},
49 {"w32", cmd_w32}, 53 {"w32", cmd_w32},
50 {"wr", cmd_wr}, 54 {"wr", cmd_wr},
51 {0, 0} 55 {0, 0}