From: Nate DeSimone <nathaniel.l.desim...@intel.com> SecInterruptEanbled should be SecInterruptEnabled
Cc: Andrew Fish <af...@apple.com> Cc: Ray Ni <ray...@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Chasel Chiu <chasel.c...@intel.com> Signed-off-by: Nate DeSimone <nathaniel.l.desim...@intel.com> --- 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.<BR> +Copyright (c) 2004 - 2023, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2008 - 2011, Apple Inc. All rights reserved.<BR> 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.<BR> +Copyright (c) 2006 - 2023, Intel Corporation. All rights reserved.<BR> Portions copyright (c) 2008 - 2011, Apple Inc. All rights reserved.<BR> 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.<BR> +Copyright (c) 2011 - 2023, Intel Corporation. All rights reserved.<BR> 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 -=-=-=-=-=-=-=-=-=-=-=- 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/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-