summaryrefslogtreecommitdiff
path: root/InOsEmuPkg/EmuBlockIoDxe
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-09 19:31:56 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-09 19:31:56 +0000
commit572287f8bb38953891c53a43d2231ce1e3f36523 (patch)
tree8988cc903ba760ec37a0248c9dd177cbf8ca0afb /InOsEmuPkg/EmuBlockIoDxe
parent1812735204688fed3d4399dc02a29eaed311a640 (diff)
downloadedk2-platforms-572287f8bb38953891c53a43d2231ce1e3f36523.tar.xz
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
Diffstat (limited to 'InOsEmuPkg/EmuBlockIoDxe')
-rw-r--r--InOsEmuPkg/EmuBlockIoDxe/EmuBlockIo.c6
1 files changed, 2 insertions, 4 deletions
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;