From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1098:0:80:1000:c:0:1; helo=cavan.codon.org.uk; envelope-from=prvs=0885d74de0=mjg59@cavan.codon.org.uk; receiver=edk2-devel@lists.01.org Received: from cavan.codon.org.uk (cavan.codon.org.uk [IPv6:2a00:1098:0:80:1000:c:0:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 22FA92119EF39 for ; Wed, 12 Dec 2018 17:17:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codon.org.uk; s=63138784; h=Content-Type:MIME-Version:Message-ID:Subject:To :From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UvWNMOVtuBpdq9X7r1XCnLgeew7n9viQMbhYgM4qKrk=; b=oPu83F+qM4zFd21KCRMzi+rjcx mVAr/PExmHIpVxgKg/aXJXNc0Fh9/JdGyorbF08mhRZOl9C2DH90/sNQC6thOBBeI2j3eRcPCK1Sk lfdms8DXo8gsi9pSAItmkVaDeoo6mGFc3qNuBfCwCPopGej2dtrQsDw8sMrjKRkeiV24=; Received: from mjg59 by cavan.codon.org.uk with local (Exim 4.89) (envelope-from ) id 1gXFdO-0006LV-8g for edk2-devel@lists.01.org; Thu, 13 Dec 2018 01:17:50 +0000 Date: Thu, 13 Dec 2018 01:17:50 +0000 From: Matthew Garrett To: edk2-devel@lists.01.org Message-ID: <20181213011750.bfzfyhrr4ufsiu6j@srcf.ucam.org> MIME-Version: 1.0 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Subject: Obtaining TCG final events on systems without TCG2 log support X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2018 01:17:55 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline SetupEventLog() in Tcg2Dxe.c only installs the final event log configuration table if SupportedEventLogs includes the TCG2 log format. If the platform only supports the TCG1.2 log format then the final events table isn't installed. However, ExitBootServices() should generate an event even on systems that don't support the TCG2 log format. How is an OS supposed to obtain the log of the ExitBootServices() events in that case? -- Matthew Garrett | mjg59@srcf.ucam.org