3 Copyright (c) 2004 - 2007, Intel Corporation
4 All rights reserved. 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
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.
18 Tiano Device Path definitions in Tiano Spec.
22 #ifndef _TIANO_SPEC_DEVICE_PATH_H
23 #define _TIANO_SPEC_DEVICE_PATH_H
27 #if (EFI_SPECIFICATION_VERSION < 0x00020000)
29 // EFI Specification extension on Media Device Path
31 #define MEDIA_FV_FILEPATH_DP 0x06
33 EFI_DEVICE_PATH_PROTOCOL Header
;
35 } MEDIA_FW_VOL_FILEPATH_DEVICE_PATH
;
39 #if (EFI_SPECIFICATION_VERSION == 0x00020000)
41 // For UEFI 2.0, use GUIDed PIWG device path to work-around EFI Specification extension on Media Device Path
44 EFI_DEVICE_PATH_PROTOCOL Header
;
45 EFI_GUID PiwgSpecificDevicePath
;
49 #define PIWG_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE 0x01
51 PIWG_DEVICE_PATH Piwg
;
53 } MEDIA_FW_VOL_FILEPATH_DEVICE_PATH
;
56 // Place holder for a future extension
58 #define PIWG_MEDIA_FW_VOL_DEVICE_PATH_TYPE 0x02
60 PIWG_DEVICE_PATH Piwg
;
62 } MEDIA_FW_VOL_DEVICE_PATH
;
65 #if (EFI_SPECIFICATION_VERSION > 0x00020000)
67 // EFI Specification extension on Media Device Path was added to UEFI 2.1 specification,
68 // so the definition is moved to EfiDevicePath.h