怎么没人关注呢
我最近发现,原来2G SD卡驱动可能用的是三星提供的三个.dll,我现在把它去掉,添加微软的sd组件
,根本没有调试信息输出
BOOL
OEMInterruptEnable(DWORD idInt, LPVOID pvData, DWORD cbData)
{
volatile INTreg *s2410INT = (INTreg *)INT_BASE;
volatile IOPreg *s2410IOP = (IOPreg *)IOP_BASE;
volatile MMCreg *s2410SDIO = (MMCreg *)MMC_BACE;
BOOL bRet = TRUE;
INTERRUPTS_OFF();
switch (idInt)
{
case SYSINTR_DMA0:
s2410INT->rINTMSK &= ~BIT_DMA0; // SDIO DMA interrupt
RETAILMSG(1,(TEXT("::: SYSINTR_DMA0 OEMInterruptDisable\r\n")));没有输出
break;
case SYSINTR_SDMMC:
s2410INT->rINTMSK &= ~BIT_MMC;
RETAILMSG(1,(TEXT("::: SYSINTR_SDMMC OEMInterruptDisable\r\n")));//此信息没有出现
break;
case SYSINTR_SDMMC_SDIO_INTERRUPT:
s2410INT->rINTMSK &= ~BIT_MMC;
RETAILMSG(1,(TEXT("::: SYSINTR_SDMMC_SDIO_INTERRUPT OEMInterruptEnable\r\n")));//此信息没有出现
break;
case SYSINTR_SDMMC_CARD_DETECT:
s2410IOP->rEINTPEND = (1 < < 18);
s2410IOP->rEINTMASK &= ~(1 < < 18);
s2410INT->rSRCPND = BIT_EINT8_23;
if (s2410INT->rINTPND & BIT_EINT8_23) s2410INT->rINTPND = BIT_EINT8_23;
s2410INT->rINTMSK &= ~BIT_EINT8_23;
RETAILMSG(1,(TEXT("::: SYSINTR_SDMMC_CARD_DETECT OEMInterruptEnable\r\n")));//此信息没有出现 break;
}
}
在OEMInterruptDone()函数中的相应调试信息也没输出,连2G的sd卡都不显示,
微软提供的驱动还要进行修改吗
谁弄过的过来指导一下新手啊 |