42 return EFI_INVALID_PARAMETER;
45 Dev = VIRTIO_NET_FROM_SNP (This);
46 OldTpl =
gBS->RaiseTPL (TPL_CALLBACK);
47 if (Dev->Snm.
State != EfiSimpleNetworkStopped) {
48 Status = EFI_ALREADY_STARTED;
50 Dev->Snm.
State = EfiSimpleNetworkStarted;
54 gBS->RestoreTPL (OldTpl);
EFI_STATUS EFIAPI VirtioNetStart(IN EFI_SIMPLE_NETWORK_PROTOCOL *This)