include/hw/sd/sd.h | 1 - hw/sd/sdmmc-internal.h | 20 +++++ hw/sd/sd.c | 212 ++++++++++++++++++++++++++++++++++--------------- hw/sd/sdmmc-common.c | 72 +++++++++++++++++ hw/sd/Makefile.objs | 2 +- hw/sd/trace-events | 20 +++++ 6 files changed, 259 insertions(+), 68 deletions(-) create mode 100644 hw/sd/sdmmc-internal.h create mode 100644 hw/sd/sdmmc-common.c