InOsEmuPkg: Clean up coding standards.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11839 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
andrewfish 2011-06-16 18:28:12 +00:00
parent 92a2f8ea68
commit bfa084fad9
3 changed files with 418 additions and 370 deletions

View File

@ -255,21 +255,10 @@ EmuBlockIoError (
Status = EFI_DEVICE_ERROR;
break;
}
/*
if (ReinstallBlockIoFlag) {
Private->EmuBlockIo->Reset (&Private->EmuBlockIo, FALSE);
gBS->ReinstallProtocolInterface (
Private->EfiHandle,
&gEfiBlockIoProtocolGuid,
BlockIo,
BlockIo
);
}
*/
return Status;
}
EFI_STATUS
EmuBlockIoReadWriteCommon (
IN EMU_BLOCK_IO_PRIVATE *Private,
@ -567,21 +556,6 @@ EmuBlockIoReset (
IN EMU_BLOCK_IO_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
)
/*++
Routine Description:
Reset the Block Device.
Arguments:
This - Protocol instance pointer.
ExtendedVerification - Driver may perform diagnostics on reset.
Returns:
EFI_SUCCESS - The device was reset.
EFI_DEVICE_ERROR - The device is not functioning properly and could
not be reset.
**/
{
EMU_BLOCK_IO_PRIVATE *Private;

View File

@ -298,10 +298,11 @@ main (
EFI_PHYSICAL_ADDRESS *
MapMemory (
INTN fd,
UINT64 length,
INTN prot,
INTN flags)
IN INTN fd,
IN UINT64 length,
IN INTN prot,
IN INTN flags
)
{
STATIC UINTN base = 0x40000000;
CONST UINTN align = (1 << 24);
@ -786,7 +787,6 @@ CountSeperatorsInString (
EFI_STATUS
EFIAPI
SecImageRead (
IN VOID *FileHandle,
IN UINTN FileOffset,

File diff suppressed because it is too large Load Diff