11 protocols - bootable image support, 1 load_file protocol, Load_file protocol – Intel Extensible Firmware Interface User Manual

Page 361: Load file protocol, Load_file_protocol, For the ta, Load_file

Advertising
background image

Version 1.10

12/01/02

11-1

11

Protocols - Bootable Image Support

11.1 LOAD_FILE Protocol

This section defines the Load File protocol. This protocol is designed to allow code running in the
EFI boot services environment to find and load other modules of code.

LOAD_FILE Protocol

Summary

Is used to obtain files from arbitrary devices.

GUID

#define LOAD_FILE_PROTOCOL \

{56EC3091-954C-11d2-8E3F-00A0C969723B}

Protocol Interface Structure

typedef struct {

EFI_LOAD_FILE

LoadFile;

} EFI_LOAD_FILE_INTERFACE;

Parameters

LoadFile

Causes the driver to load the requested file. See the

LoadFile()

function description.

Description

The

EFI_LOAD_FILE

protocol is a simple protocol used to obtain files from arbitrary devices.

When the firmware is attempting to load a file, it first attempts to use the device’s Simple File
System protocol to read the file. If the file system protocol is found, the firmware implements the
policy of interpreting the File Path value of the file being loaded. If the device does not support the
file system protocol, the firmware then attempts to read the file via the

EFI_LOAD_FILE

protocol

and the

LoadFile()

function. In this case the

LoadFile()

function implements the policy of

interpreting the File Path value.

Advertising