summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-29 08:08:43 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-29 08:08:43 +0000
commite38abba69a8a0b7adef6e2448114db3d5365f9c4 (patch)
tree0628e06fab390f03c2a83d6037d0297b6703c63b
parentc998615a99b082960d446d2166ea281c3f518e64 (diff)
downloadedk2-e38abba69a8a0b7adef6e2448114db3d5365f9c4.zip
edk2-e38abba69a8a0b7adef6e2448114db3d5365f9c4.tar.gz
edk2-e38abba69a8a0b7adef6e2448114db3d5365f9c4.tar.bz2
Add some definitions in Framework FV 0.9 spec but not in PI 1.0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/IntelFrameworkPkg@2901 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--Include/Common/FrameworkFirmwareVolumeImageFormat.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/Include/Common/FrameworkFirmwareVolumeImageFormat.h b/Include/Common/FrameworkFirmwareVolumeImageFormat.h
new file mode 100644
index 0000000..df1e989
--- /dev/null
+++ b/Include/Common/FrameworkFirmwareVolumeImageFormat.h
@@ -0,0 +1,40 @@
+/** @file
+ This file defines the data structures that are architecturally defined for file
+ images loaded via the FirmwareVolume protocol. The Firmware Volume specification
+ is the basis for these definitions.
+
+ Copyright (c) 2006, 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: FrameworkFimrwareVolumeImageFormat.h
+
+ @par Revision Reference:
+ These definitions are from Firmware Volume Spec 0.9.
+
+**/
+
+#ifndef __FRAMEWORK_FIRMWARE_VOLUME_IMAGE_FORMAT_H__
+#define __FRAMEWORK_FIRMWARE_VOLUME_IMAGE_FORMAT_H__
+
+//
+// Bit values for AuthenticationStatus
+//
+#define EFI_AGGREGATE_AUTH_STATUS_PLATFORM_OVERRIDE 0x000001
+#define EFI_AGGREGATE_AUTH_STATUS_IMAGE_SIGNED 0x000002
+#define EFI_AGGREGATE_AUTH_STATUS_NOT_TESTED 0x000004
+#define EFI_AGGREGATE_AUTH_STATUS_TEST_FAILED 0x000008
+#define EFI_AGGREGATE_AUTH_STATUS_ALL 0x00000f
+
+#define EFI_LOCAL_AUTH_STATUS_PLATFORM_OVERRIDE 0x010000
+#define EFI_LOCAL_AUTH_STATUS_IMAGE_SIGNED 0x020000
+#define EFI_LOCAL_AUTH_STATUS_NOT_TESTED 0x040000
+#define EFI_LOCAL_AUTH_STATUS_TEST_FAILED 0x080000
+#define EFI_LOCAL_AUTH_STATUS_ALL 0x0f0000
+
+#endif