diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-06-24 13:00:08 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2023-09-01 11:40:04 +0200 |
commit | 46859b6078bbd78c54693799f6ed1b90d1d5e565 (patch) | |
tree | e2d64abe08212c74b1ef8df1220d5967076e1ecf /.github | |
parent | 1b4a234278f04ade4dd358224edc3defcd37fda7 (diff) |
hw/sd: Introduce sd_cmd_handler type
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
back to current code base.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-Id: <20210624142209.1193073-5-f4bug@amsat.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions