[edk2-devel] [PATCH v1] EmulatorPkg: Fix SecInterruptEnabled misspelling

Ni, Ray ray.ni at intel.com
Wed Mar 1 05:11:20 UTC 2023


Acked-by: Ray Ni <ray.ni at intel.com>

> -----Original Message-----
> From: Desimone, Nathaniel L <nathaniel.l.desimone at intel.com>
> Sent: Wednesday, March 1, 2023 12:55 PM
> To: devel at edk2.groups.io
> Cc: Desimone, Nathaniel L <nathaniel.l.desimone at intel.com>; Andrew Fish
> <afish at apple.com>; Ni, Ray <ray.ni at intel.com>; Kinney, Michael D
> <michael.d.kinney at intel.com>; Chiu, Chasel <chasel.chiu at intel.com>
> Subject: [PATCH v1] EmulatorPkg: Fix SecInterruptEnabled misspelling
> 
> From: Nate DeSimone <nathaniel.l.desimone at intel.com>
> 
> SecInterruptEanbled should be SecInterruptEnabled
> 
> Cc: Andrew Fish <afish at apple.com>
> Cc: Ray Ni <ray.ni at intel.com>
> Cc: Michael D Kinney <michael.d.kinney at intel.com>
> Cc: Chasel Chiu <chasel.chiu at intel.com>
> Signed-off-by: Nate DeSimone <nathaniel.l.desimone at 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 (#100568): https://edk2.groups.io/g/devel/message/100568
Mute This Topic: https://groups.io/mt/97308243/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/3943202/1813853/130120423/xyzzy [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list