TianoCore EDK2 master
|
#include "I2cDxe.h"
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | InitializeI2c (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
EFI_STATUS EFIAPI | I2cUnload (IN EFI_HANDLE ImageHandle) |
This file implements the entrypoint and unload function for I2C DXE module.
Copyright (c) 2013, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file I2cDxe.c.
EFI_STATUS EFIAPI I2cUnload | ( | IN EFI_HANDLE | ImageHandle | ) |
This is the unload handle for I2C module.
Disconnect the driver specified by ImageHandle from all the devices in the handle database. Uninstall all the protocols installed in the driver entry point.
[in] | ImageHandle | The drivers' driver image. |
EFI_SUCCESS | The image is unloaded. |
Others | Failed to unload the image. |
EFI_STATUS EFIAPI InitializeI2c | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The user Entry Point for I2C module. The user code starts with this function.
[in] | ImageHandle | The firmware allocated handle for the EFI image. |
[in] | SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The entry point is executed successfully. |
other | Some error occurs when executing this entry point. |