rem: static void __format_callback(u32 chn,s32 result)
add: static void __format_callback(s32 chn,s32 result)
context: static void __format_callback(u32 chn,s32 result){	s32 ret;	cardcallback cb = NULL;	card_block *card = &cardmap[chn];	ret = result;	if(ret>=0) {		if((++card->format_step)<CARD_SYSAREA) {			if((ret=__card_sectorerase(chn,(card->format_step*card->sector_size),__format_callback))>=0) return;			goto exit;		}		if(card->format_step<10) {			if((ret=__card_write(chn,((card->format_step-CARD_SYSAREA)*card->sector_size),8192,card->workarea+((card->format_step-CARD_SYSAREA)<<13),__format_callback))>=0) return;			goto exit;		}		card->curr_dir = card->workarea+CARD_SYSDIR;		memcpy(card->curr_dir,card->workarea+CARD_SYSDIR_BACK,8192);				card->curr_fat = card->workarea+CARD_SYSBAT;		memcpy(card->curr_fat,card->workarea+CARD_SYSBAT_BACK,8192);	}exit:	cb = card->card_api_cb;	card->card_api_cb = NULL;	__card_putcntrlblock(card,ret);	if(cb) cb(chn,ret);}