);\r
\r
EFI_GUID gEfiUsbKeyboardDriverGuid = {\r
- 0xa05f5f78, 0xfb3, 0x4d10, 0x90, 0x90, 0xac, 0x4, 0x6e, 0xeb, 0x7c, 0x3c\r
+ 0xa05f5f78, 0xfb3, 0x4d10, {0x90, 0x90, 0xac, 0x4, 0x6e, 0xeb, 0x7c, 0x3c}\r
};\r
\r
//\r
NULL\r
};\r
\r
-//@MT: EFI_DRIVER_ENTRY_POINT (USBKeyboardDriverBindingEntryPoint)\r
-\r
EFI_STATUS\r
EFIAPI\r
USBKeyboardDriverBindingEntryPoint (\r
//\r
// We only care interrupt endpoint here\r
//\r
- UsbKeyboardDevice->IntEndpointDescriptor = EndpointDescriptor;\r
+ CopyMem(&UsbKeyboardDevice->IntEndpointDescriptor, &EndpointDescriptor, sizeof(EndpointDescriptor));\r
Found = TRUE;\r
}\r
}\r