Add Load File 2 Protocol and MEDIA_RELATIVE_OFFSET_RANGE_DEVICE_PATH definition to build newest shell source.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7286 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2009-01-15 09:57:19 +00:00
parent 90e128e28a
commit 1e39deb2e2
4 changed files with 126 additions and 0 deletions

View File

@ -0,0 +1,30 @@
/*++
Copyright (c) 2008, Intel Corporation
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
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
LoadFile2.c
Abstract:
Load File2 protocol as defined in the UEFI specification.
Load File2 protocol exists to support to obtain files from arbitrary devices
but are not used as boot options.
--*/
#include "EfiSpec.h"
#include EFI_PROTOCOL_DEFINITION (LoadFile2)
EFI_GUID gEfiLoadFile2ProtocolGuid = EFI_LOAD_FILE2_PROTOCOL_GUID;
EFI_GUID_STRING(&gEfiLoad2FileProtocolGuid, "LoadFile2 Protocol", "UEFI 2.1 Load File2 Protocol");