HV: refine cmdline code, move parts into dbg_cmd

move the debug related command handle into debug/dbg_cmd.c;
so release build will not include that.

Tracked-On: #2170
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Minggui Cao
2018-12-26 16:39:35 +08:00
committed by wenlingz
parent a5ca305cf6
commit 7ebc4877c8
5 changed files with 79 additions and 63 deletions

View File

@@ -46,4 +46,5 @@ void shell_kick(void);
void suspend_console(void);
void resume_console(void);
bool handle_dbg_cmd(const char *cmd, int32_t len);
#endif /* CONSOLE_H */