From nobody Mon May 6 11:07:24 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+100562+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+100562+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1677646535; cv=none; d=zohomail.com; s=zohoarc; b=Cj/CHlv65F0ZondIcJ6pznJuqT9QubyrbDD2Vpj/zM1mzgKr6PbeoAQxkPpOdY0UhBTT3BX0ZUnXx8UbYv1J8MygudaSzDxv1fAtVnkJeXamBZe6qzR+HPKt2T01X3q/5wFoeEdQ7FUGgFOd6knjkWOgLfyOZoJDv86piehy1ck= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677646535; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=JyihCbv2KePsnZZg5HDQEDI2L3Tibfwg04iy2l0QhWk=; b=avZA9ytB5zeb5ThFh8almG+zuNwNJqZPZN8y/i9D98ISoMrYqd5l/X3pa4Ls0P1Gnff5h98BhZ9JFpKeOx0JQarpOBjZYs4/XjtZZcK5lqxyT87bLIE4zGz1wZ2Kf3HnI7WlkOOg3VYDFLTuSLP9gwfPreyyuek0IRFnq+yeZu8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+100562+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1677646535157210.33975958013048; Tue, 28 Feb 2023 20:55:35 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id nZsdYY1788612xdQXxFkTH6E; Tue, 28 Feb 2023 20:55:34 -0800 X-Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web10.15151.1677646531793211118 for ; Tue, 28 Feb 2023 20:55:32 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="399103049" X-IronPort-AV: E=Sophos;i="5.98,223,1673942400"; d="scan'208";a="399103049" X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2023 20:55:31 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="706832934" X-IronPort-AV: E=Sophos;i="5.98,223,1673942400"; d="scan'208";a="706832934" X-Received: from nldesimo-desk.amr.corp.intel.com ([10.24.12.177]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2023 20:55:30 -0800 From: "Nate DeSimone" To: devel@edk2.groups.io Cc: Nate DeSimone , Andrew Fish , Ray Ni , Michael D Kinney , Chasel Chiu Subject: [edk2-devel] [PATCH v1] EmulatorPkg: Fix SecInterruptEnabled misspelling Date: Tue, 28 Feb 2023 20:55:21 -0800 Message-Id: <20230301045524.1044-4-nathaniel.l.desimone@intel.com> In-Reply-To: <20230301045524.1044-1-nathaniel.l.desimone@intel.com> References: <20230301045524.1044-1-nathaniel.l.desimone@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,nathaniel.l.desimone@intel.com X-Gm-Message-State: ms77B6yaJw6ojSDNidin1i8mx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1677646534; bh=kGHk/NB62ASrVuqDBAVbHZds+mwpDrcnLXc5Jzi7hTo=; h=Cc:Date:From:Reply-To:Subject:To; b=M9vTAgw8kJDmCvoLD1PGIOpzsN0SGbm1fcz6dKrYgQfHpzTL1h8uFnD01q6cw1l2JTx yDyKP38ulWBF8iuwzVTaCxDivRserkuj7ZKTmZ0bF801s2UB9iECNHisnQkHqaIpvcmd6 z75QlMaIaqmV1pmwM3dG0xM2eNBhbHuwqcI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1677646536875100020 Content-Type: text/plain; charset="utf-8" From: Nate DeSimone SecInterruptEanbled should be SecInterruptEnabled Cc: Andrew Fish Cc: Ray Ni Cc: Michael D Kinney Cc: Chasel Chiu Signed-off-by: Nate DeSimone Acked-by: Ray Ni --- EmulatorPkg/Unix/Host/EmuThunk.c | 4 ++-- EmulatorPkg/Unix/Host/Host.h | 4 ++-- EmulatorPkg/Unix/Host/Pthreads.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/EmulatorPkg/Unix/Host/EmuThunk.c b/EmulatorPkg/Unix/Host/EmuTh= unk.c index 6422f056a6..4bbc6f32a8 100644 --- a/EmulatorPkg/Unix/Host/EmuThunk.c +++ b/EmulatorPkg/Unix/Host/EmuThunk.c @@ -9,7 +9,7 @@ it may cause the table to be initialized with the members at the end bei= ng set to zero. This is bad as jumping to zero will crash. =20 -Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.
+Copyright (c) 2004 - 2023, Intel Corporation. All rights reserved.
Portions copyright (c) 2008 - 2011, Apple Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -229,7 +229,7 @@ SecDisableInterrupt ( } =20 BOOLEAN -SecInterruptEanbled ( +SecInterruptEnabled ( void ) { diff --git a/EmulatorPkg/Unix/Host/Host.h b/EmulatorPkg/Unix/Host/Host.h index 0c81cdfc01..ed3980c7fd 100644 --- a/EmulatorPkg/Unix/Host/Host.h +++ b/EmulatorPkg/Unix/Host/Host.h @@ -1,6 +1,6 @@ /*++ @file =20 -Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.
Portions copyright (c) 2008 - 2011, Apple Inc. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent @@ -346,7 +346,7 @@ SecDisableInterrupt ( ); =20 BOOLEAN -SecInterruptEanbled ( +SecInterruptEnabled ( VOID ); =20 diff --git a/EmulatorPkg/Unix/Host/Pthreads.c b/EmulatorPkg/Unix/Host/Pthre= ads.c index ec3a38e573..d5a7c473f7 100644 --- a/EmulatorPkg/Unix/Host/Pthreads.c +++ b/EmulatorPkg/Unix/Host/Pthreads.c @@ -2,7 +2,7 @@ POSIX Pthreads to emulate APs and implement threads =20 Copyright (c) 2011, Apple Inc. All rights reserved. -Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.
+Copyright (c) 2011 - 2023, Intel Corporation. All rights reserved.
=20 SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -120,7 +120,7 @@ PthreadCreate ( // // Threads inherit interrupt state so disable interrupts before we start= thread // - if (SecInterruptEanbled ()) { + if (SecInterruptEnabled ()) { SecDisableInterrupt (); EnabledOnEntry =3D TRUE; } else { --=20 2.30.2 -=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 (#100562): https://edk2.groups.io/g/devel/message/100562 Mute This Topic: https://groups.io/mt/97308243/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-