From 572287f8bb38953891c53a43d2231ce1e3f36523 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Thu, 9 Jun 2011 19:31:56 +0000 Subject: InOsEmuPkg: Add the EFI parts of the Simple Network Protocol This only adds the EFI parts and not the OS specific implementation. Since the EFI parts no longer use system include files this is safe to do. Also fix two minor typos. Signed-off-by:andrewfish git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11781 6f19259b-4bc3-4df7-8a09-765794883524 --- InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'InOsEmuPkg/EmuBlockIoDxe') diff --git a/InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c b/InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c index e8917326f2..b679d8f72a 100644 --- a/InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c +++ b/InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c @@ -420,7 +420,7 @@ EmuBlockIoDriverBindingSupported ( ) { EFI_STATUS Status; - EMU_IO_THUNK_PROTOCOL *EmuIoThunk; + EMU_IO_THUNK_PROTOCOL *EmuIoThunk; // // Open the IO Abstraction(s) needed to perform the supported test @@ -520,9 +520,7 @@ EmuBlockIoDriverBindingStart ( if (EFI_ERROR (Status)) { return Status; } - // - // Set DiskType - // + if (!CompareGuid (EmuIoThunk->Protocol, &gEmuBlockIoProtocolGuid)) { Status = EFI_UNSUPPORTED; goto Done; -- cgit v1.2.3