3.4.4
EFI_IMAGE_ENTRY_POINT
Summary
This is the declaration of an EFI image entry point. This can be the entry point to an EFI
application, an EFI boot service driver, or an EFI runtime driver.
Prototype
typedef
EFI_STATUS
(EFIAPI *EFI_IMAGE_ENTRY_POINT) (
IN EFI_HANDLE
IN EFI_SYSTEM_TABLE
);
Parameters
ImageHandle
SystemTable
Description
An image's entry point is of type EFI_IMAGE_ENTRY_POINT. After firmware loads an image
into memory, control is passed to the image's entry point. The entry point is responsible for
initializing the image. The image's
provides the image with all the binding and data information it needs. This information is available
through protocol interfaces. However, to access the protocol interfaces on
requires access to boot services functions. Therefore,
EFI_IMAGE_ENTRY_POINT
LoadImage().
All image handles support the
information about the loaded image's state — for example, the device from which the image was
loaded and the image's load options. In addition, the
provided by the parent image.
If the image supports dynamic unloading, it must supply an unload function in the
structure before returning control from its entry point.
LOADED_IMAGE
In general, an image returns control from its initialization entry point by calling Exit()or by
returning control from its entry point. If the image returns control from its entry point, the
firmware passes control to
Exit().
See
for entry point exit conditions (Section 3.4.5).
Exit()
Version 1.02
ImageHandle,
*SystemTable
Handle that identifies the loaded image. Type
in Section 3.3.1.
System Table for this image. Type
Chapter 4.
ImageHandle
a
that is inherited from the current scope of
SystemTable
protocol. This protocol can be used to obtain
LOADED_IMAGE
using the return code as the
Exit()
12/12/00
EFI_HANDLE
EFI_SYSTEM_TABLE
is passed to the image. The
ImageHandle
passes to the
LoadImage()
may support other protocols
ImageHandle
ExitStatus
Services
is defined
is defined in
ImageHandle
parameter to
73
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?