]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Foundation/Framework/Include/TianoSpecDevicePath.h
c8eec3d946b8b2517b1efde725cdf636c476e33c
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Include / TianoSpecDevicePath.h
1 /*++
2
3 Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>
4 This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 TianoSpecDevicePath.h
15
16 Abstract:
17
18 Tiano Device Path definitions in Tiano Spec.
19
20 --*/
21
22 #ifndef _TIANO_SPEC_DEVICE_PATH_H
23 #define _TIANO_SPEC_DEVICE_PATH_H
24
25 #pragma pack(1)
26
27 #if (EFI_SPECIFICATION_VERSION <= 0x00020000)
28 //
29 // EFI Specification extension on Media Device Path. MEDIA_FW_VOL_FILEPATH_DEVICE_PATH is adopted by UEFI later and added in UEFI2.10.
30 // In EdkCompatibility Package, we only support MEDIA_FW_VOL_FILEPATH_DEVICE_PATH that complies with
31 // EFI 1.10 and UEFI 2.10.
32 //
33 #define MEDIA_FV_FILEPATH_DP 0x06
34 typedef struct {
35 EFI_DEVICE_PATH_PROTOCOL Header;
36 EFI_GUID NameGuid;
37 } MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;
38 #endif
39
40
41 #if (EFI_SPECIFICATION_VERSION > 0x00020000)
42 //
43 // EFI Specification extension on Media Device Path was added to UEFI 2.1 specification,
44 // so the definition is moved to EfiDevicePath.h
45 //
46 #endif
47
48 #pragma pack()
49 #endif