我在编写流驱动的时候,系统启动突然停止了。
串口输出信息:
[dm9: Tries to map io space with 18000000
[dm9: The mapped address is D0B80000
[dm9: Chip signature is 90000A46
[dm9: Chip signature is 90000A46
STRINGS:***@@****DLL_PROCESS_ATTACH******
MYSTRINGGS:**@@*******InitKey_Init***********
*@@**********KeyInt_Setting***********
流驱动部分代码。
DWORD KEY_Init(DWORD dwContext)
{ // if you drive a idiographic device,add oter code ep: int,hardwareinit and so on
DWORD IDINTThread;
RETAILMSG(1,(TEXT("MYSTRINGGS:**@@*******InitKey_Init***********\n")));
//clear the ram which is used for this dll