X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=EmbeddedPkg%2FUniversal%2FMmcDxe%2FMmc.c;h=570e1d2e43e1fe5b3c2af6eb77efde6afa5d2425;hb=752ae80514ccb3532a6d6d16a122642573eabdee;hp=b4f7a78a554b16685d5cb5f6dea599d2bbc3a43a;hpb=16d88c2d20ccd9f8ea52967b578ece82174ea762;p=mirror_edk2.git diff --git a/EmbeddedPkg/Universal/MmcDxe/Mmc.c b/EmbeddedPkg/Universal/MmcDxe/Mmc.c index b4f7a78a55..570e1d2e43 100644 --- a/EmbeddedPkg/Universal/MmcDxe/Mmc.c +++ b/EmbeddedPkg/Universal/MmcDxe/Mmc.c @@ -1,27 +1,25 @@ /** @file Main file of the MMC Dxe driver. The driver entrypoint is defined into this file. - Copyright (c) 2011, ARM Limited. All rights reserved. - - This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php + Copyright (c) 2011-2013, ARM Limited. All rights reserved. - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ #include -#include #include #include #include #include #include -#include #include "Mmc.h" @@ -248,7 +246,7 @@ MmcDriverBindingSupported ( } /** - + **/ EFI_STATUS EFIAPI @@ -308,7 +306,7 @@ MmcDriverBindingStart ( } /** - + **/ EFI_STATUS EFIAPI @@ -400,7 +398,7 @@ EFI_DRIVER_BINDING_PROTOCOL gMmcDriverBinding = { }; /** - + **/ EFI_STATUS EFIAPI @@ -444,8 +442,8 @@ MmcDxeInitialize ( CheckCardsCallback, NULL, &gCheckCardsEvent); - ASSERT_EFI_ERROR (Status); - + ASSERT_EFI_ERROR (Status); + Status = gBS->SetTimer( gCheckCardsEvent, TimerPeriodic,