On Thu, Jun 24, 2021 at 10:27 PM Philippe Mathieu-Daudé <f4...@amsat.org> wrote: > > Add 2 command handler arrays in SDProto, for CMD and ACMD. > Have sd_normal_command() / sd_app_command() use these arrays: > if an command handler is registered, call it, otherwise fall
a command > back to current code base. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > hw/sd/sd.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > Reviewed-by: Bin Meng <bmeng...@gmail.com>