📄 pxa25xufnlib.cpp
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
#include <_pxa255_ufnlib.h>
// This is just a stub version of the library.
DWORD Pxa25xLibInit(
LPCTSTR pszActiveKey,
PVOID *ppvLibContext
)
{
ASSERT(pszActiveKey);
PREFAST_ASSERT(ppvLibContext);
DEBUGMSG(ZONE_INIT, (TEXT("Pxa25x::UsbFn: Using standard library\r\n")));
*ppvLibContext = NULL;
return ERROR_SUCCESS;
}
DWORD Pxa25xLibStart(
PVOID pvLibContext
)
{
return ERROR_SUCCESS;
}
VOID Pxa25xLibStop(
PVOID pvLibContext
)
{
}
VOID Pxa25xLibDeinit(
PVOID pvLibContext
)
{
}
ATTACH_DETACH_INTERRUPT Pxa25xLibCheckAttachDetach(
PVOID pvLibContext
)
{
return ADI_NONE;
}
VOID Pxa25xLibClearAttachDetach(
PVOID pvLibContext,
ATTACH_DETACH_INTERRUPT adi
)
{
ASSERT(IS_VALID_ATTACH_DETACH_INTERRUPT(adi));
ASSERT(adi != ADI_NONE);
// Place any steps necessary to clear Bus Attach Intertupts here.
// Nothing to do. Resetting this interrupt is handled inside the ISR
// itself. See intxsc1.c in platform dir.
}
VOID Pxa25xLibPowerDown(
PVOID pvLibContext
)
{ ;
}
VOID Pxa25xLibPowerUp(
PVOID pvLibContext
)
{ ;
}
VOID Pxa25xLibSetPowerState(
PVOID pvLibContext,
CEDEVICE_POWER_STATE cpsNew
)
{ ;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -