Implemented actual code for sdmc_stat().