TianoCore EDK2 master
|
#include "Fat.h"
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | FatEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
EFI_STATUS EFIAPI | FatUnload (IN EFI_HANDLE ImageHandle) |
EFI_STATUS EFIAPI | FatDriverBindingSupported (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
EFI_STATUS EFIAPI | FatDriverBindingStart (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath) |
EFI_STATUS EFIAPI | FatDriverBindingStop (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer) |
Variables | |
EFI_DRIVER_BINDING_PROTOCOL | gFatDriverBinding |
Fat File System driver routines that support EFI driver model.
Copyright (c) 2005 - 2014, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Fat.c.
EFI_STATUS EFIAPI FatDriverBindingStart | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | ControllerHandle, | ||
IN EFI_DEVICE_PATH_PROTOCOL * | RemainingDevicePath | ||
) |
Start this driver on ControllerHandle by opening a Block IO and Disk IO protocol, reading Device Path. Add a Simple File System protocol to ControllerHandle if the media contains a valid file system.
This | - Protocol instance pointer. |
ControllerHandle | - Handle of device to bind driver to. |
RemainingDevicePath | - Not used. |
EFI_SUCCESS | - This driver is added to DeviceHandle. |
EFI_ALREADY_STARTED | - This driver is already running on DeviceHandle. |
EFI_OUT_OF_RESOURCES | - Can not allocate the memory. |
EFI_STATUS EFIAPI FatDriverBindingStop | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | ControllerHandle, | ||
IN UINTN | NumberOfChildren, | ||
IN EFI_HANDLE * | ChildHandleBuffer | ||
) |
Stop this driver on ControllerHandle.
This | - Protocol instance pointer. |
ControllerHandle | - Handle of device to stop driver on. |
NumberOfChildren | - Not used. |
ChildHandleBuffer | - Not used. |
EFI_SUCCESS | - This driver is removed DeviceHandle. |
EFI_STATUS EFIAPI FatDriverBindingSupported | ( | IN EFI_DRIVER_BINDING_PROTOCOL * | This, |
IN EFI_HANDLE | ControllerHandle, | ||
IN EFI_DEVICE_PATH_PROTOCOL * | RemainingDevicePath | ||
) |
Test to see if this driver can add a file system to ControllerHandle. ControllerHandle must support both Disk IO and Block IO protocols.
This | - Protocol instance pointer. |
ControllerHandle | - Handle of device to test. |
RemainingDevicePath | - Not used. |
EFI_SUCCESS | - This driver supports this device. |
EFI_ALREADY_STARTED | - This driver is already running on this device. |
EFI_STATUS EFIAPI FatEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
EFI_STATUS EFIAPI FatUnload | ( | IN EFI_HANDLE | ImageHandle | ) |
EFI_DRIVER_BINDING_PROTOCOL gFatDriverBinding |