Functions of SD are implemented in ../common/drivers/sd.c and ../common/drivers/sd.h to be OS-independent