/**
The user Entry Point for Application. The user code starts with this function
as the real entry point for the application.
@param[in] ImageHandle The firmware allocated handle for the EFI image.
@param[in] SystemTable A pointer to the EFI System Table.
@retval EFI_SUCCESS The entry point is executed successfully.
@retval other Some error occurs when executing this entry point.
**/
EFI_STATUS
EFIAPI
UefiMain (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
{
EFI_STATUS Status;
EFI_USB_IO_PROTOCOL *UsbIo;
UINTN HandleIndex, NumHandles;
EFI_HANDLE *ControllerHandle = NULL;
//
EFI_USB_DEVICE_DESCRIPTOR Device;
gST->ConOut->OutputString (gST->ConOut, L"---------------------------------\r\n");
gST->ConOut->ClearScreen(gST->ConOut);
gST->ConOut->EnableCursor(gST->ConOut,TRUE);
UEFI 下查找USB设备
最新推荐文章于 2023-03-03 17:30:14 发布