From nobody Sun Feb 8 19:25:20 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+53041+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+53041+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1578536051; cv=none; d=zohomail.com; s=zohoarc; b=li8bAdqGDvbBZtpLsa1NZnxf8CEqhUI7EZ6DKBJA7REPgE07ANw3VhjnS7w7hxwsEJDrUoLMgIL5DqhlZfyjk6QMRxqf7kOy/P5fKxIos6zgsQuCbuJzrfXs9Vj1sRS4irwTvYNbr6FBoTXQg0tSXiwPHVoXxC9S2RnPNJTL7wg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578536051; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=TBrNNC48JXVepAInD9Y72QHw3TUgreusxCxLc+IZkDA=; b=GheQPL9p9BU9ZSINDpdKcURPMLN71mBkfYxM02KRFYJrlNfEKQEQiNjpZDMCkm3XeMvVmiVN8IOFX1OuRJD2naqYkdiwiJaAVMAs9kBHF1POsiQw+fFVzql9UCFunBH3fJtb2FmSg2CtpusnmIqjL5s92pRQ1tZB2O8B3zG4w8k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+53041+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1578536051964592.7889622918887; Wed, 8 Jan 2020 18:14:11 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id ok2dYY1788612xIwlsZ7bJ7D; Wed, 08 Jan 2020 18:14:11 -0800 X-Received: from mga09.intel.com (mga09.intel.com []) by mx.groups.io with SMTP id smtpd.web12.3250.1578536050086858825 for ; Wed, 08 Jan 2020 18:14:11 -0800 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jan 2020 18:14:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,412,1571727600"; d="scan'208";a="421640406" X-Received: from shwdeopenpsi787.ccr.corp.intel.com ([10.239.158.56]) by fmsmga005.fm.intel.com with ESMTP; 08 Jan 2020 18:14:09 -0800 From: "Siyuan, Fu" To: devel@edk2.groups.io Cc: michael.d.kinney@intel.com, liming.gao@intel.com, eric.dong@intel.com, ray.ni@intel.com, lersek@redhat.com Subject: [edk2-devel] [PATCH v2 1/2] MdePkg: Add header file for Firmware Interface Table specification. Date: Thu, 9 Jan 2020 10:14:04 +0800 Message-Id: <22247fcc9c3a4f5fe237ff2e9ec289fb41ceb3ec.1578535686.git.siyuan.fu@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,siyuan.fu@intel.com X-Gm-Message-State: VtxGIoCaeqe9dcFFWubUKfDDx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1578536051; bh=Z0zipYsC61mFeaMbDLDue2A22++7j//l0/tWIGzPZQ8=; h=Cc:Date:From:Reply-To:Subject:To; b=jCypxaEWSZjxWsXBNfuY83lcerF74y7TG7ze4iUutGq5WG6G3U4iEPesZXv67jveQ/m wa1L/61l1quB5SiF3A2cXpIm213bHP1++jmveICGI0qcC6KVJEKMSWyPHJ3Tko144toXM ScOzHVUSh+tTU6eLVOdE8U5Y5PvJX0t6COs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" This patch add FirmwareInterfaceTable.h for the Firmware Interface Table BIOS specification. This is to remove future edk2 dependency on edk2-platforms repo. The file content comes from edk2-platforms\Silicon\Intel\IntelSiliconPkg\Include\IndustryStandard BZ link: https://tianocore.acgmultimedia.com/show_bug.cgi?id=3D2449 Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Siyuan Fu Reviewed-by: Liming Gao --- .../IndustryStandard/FirmwareInterfaceTable.h | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 MdePkg/Include/IndustryStandard/FirmwareInterfaceTable.h diff --git a/MdePkg/Include/IndustryStandard/FirmwareInterfaceTable.h b/Mde= Pkg/Include/IndustryStandard/FirmwareInterfaceTable.h new file mode 100644 index 0000000000..be3e34ae1b --- /dev/null +++ b/MdePkg/Include/IndustryStandard/FirmwareInterfaceTable.h @@ -0,0 +1,76 @@ +/** @file + Industry Standard Definitions of Firmware Interface Table BIOS Specifica= tion 1.0. + + Copyright (c) 2016 - 2020, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef __FIRMWARE_INTERFACE_TABLE_H__ +#define __FIRMWARE_INTERFACE_TABLE_H__ + +// +// FIT Entry type definitions +// +#define FIT_TYPE_00_HEADER 0x00 +#define FIT_TYPE_01_MICROCODE 0x01 +#define FIT_TYPE_02_STARTUP_ACM 0x02 +#define FIT_TYPE_07_BIOS_STARTUP_MODULE 0x07 +#define FIT_TYPE_08_TPM_POLICY 0x08 +#define FIT_TYPE_09_BIOS_POLICY 0x09 +#define FIT_TYPE_0A_TXT_POLICY 0x0A +#define FIT_TYPE_0B_KEY_MANIFEST 0x0B +#define FIT_TYPE_0C_BOOT_POLICY_MANIFEST 0x0C +#define FIT_TYPE_10_CSE_SECURE_BOOT 0x10 +#define FIT_TYPE_2D_TXTSX_POLICY 0x2D +#define FIT_TYPE_2F_JMP_DEBUG_POLICY 0x2F +#define FIT_TYPE_7F_SKIP 0x7F + +#define FIT_POINTER_ADDRESS 0xFFFFFFC0 ///< Fixed address = at 4G - 40h + +#define FIT_TYPE_VERSION 0x0100 + +#define FIT_TYPE_00_SIGNATURE SIGNATURE_64 ('_', 'F', 'I', 'T', '_', ' ',= ' ', ' ') + +#pragma pack(1) + +typedef struct { + // + // Address is the base address of the firmware component + // must be aligned on 16 byte boundary + // + UINT64 Address; + // + // Size is the span of the component in multiple of 16 bytes + // + UINT8 Size[3]; + // + // Reserved must be set to 0 + // + UINT8 Reserved; + // + // Component's version number in binary coded decimal (BCD) format. + // For the FIT header entry, the value in this field will indicate the r= evision + // number of the FIT data structure. The upper byte of the revision field + // indicates the major revision and the lower byte indicates the minor r= evision. + // + UINT16 Version; + // + // FIT types 0x00 to 0x7F + // + UINT8 Type : 7; + // + // Checksum Valid indicates whether component has valid checksum. + // + UINT8 C_V : 1; + // + // Component's checksum. The modulo sum of all the bytes in the componen= t and + // the value in this field (Chksum) must add up to zero. This field is o= nly + // valid if the C_V flag is non-zero. + // + UINT8 Chksum; +} FIRMWARE_INTERFACE_TABLE_ENTRY; + +#pragma pack() + +#endif --=20 2.19.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#53041): https://edk2.groups.io/g/devel/message/53041 Mute This Topic: https://groups.io/mt/69559935/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-