From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=oKfFVlFM; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: nathaniel.l.desimone@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677646532; x=1709182532; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=wrbn2U4isoPu8HFOn2Kq0I3sZ2SC8ldDWTZMe5ZKN3M=; b=oKfFVlFM8Q1i4d5qftHcWBNgTwecE2pXnwwdL3DF6rXqmDGYjVSoVk9/ hZgckrXyF7QJgs92a2FYjd/sBfsOJPQvL9fG0MO1KZ/UReeLhPS1Qkn7M P7GOZOFcVNZumRhvZblfIcHUcwVv3aPoscf2Vh5k3ns2dF5ViLQdHJEZ6 Zq9dDS8U/OsPSQ3q2J6EY06fZoanDdO3YdcmwAvq5Qvai68o0ocZrIpJp oRseQhjQRgD0KjGb3M3E5Dxh3pbdKqVoMqC3FFLXCsdtFolFGYYGCUmK5 K7ZNbkavM53oSGTwxXzxvcnE1zoCuRcH1ijw/xSSWsjOjnteFESkUPqA/ g==; 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" 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" 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: [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> X-Mailer: git-send-email 2.39.2.windows.1 In-Reply-To: <20230301045524.1044-1-nathaniel.l.desimone@intel.com> References: <20230301045524.1044-1-nathaniel.l.desimone@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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/EmuThunk.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 being set to zero. This is bad as jumping to zero will crash. -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 @@ -229,7 +229,7 @@ SecDisableInterrupt ( } 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 -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.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -346,7 +346,7 @@ SecDisableInterrupt ( ); BOOLEAN -SecInterruptEanbled ( +SecInterruptEnabled ( VOID ); diff --git a/EmulatorPkg/Unix/Host/Pthreads.c b/EmulatorPkg/Unix/Host/Pthreads.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 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.
SPDX-License-Identifier: BSD-2-Clause-Patent @@ -120,7 +120,7 @@ PthreadCreate ( // // Threads inherit interrupt state so disable interrupts before we start thread // - if (SecInterruptEanbled ()) { + if (SecInterruptEnabled ()) { SecDisableInterrupt (); EnabledOnEntry = TRUE; } else { -- 2.30.2