[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/14] USER32: change default to disabled and make it a gener
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 01/14] USER32: change default to disabled and make it a general option |
Date: |
Fri, 29 Dec 2023 14:27:49 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Luca Dariz, le jeu. 28 déc. 2023 20:42:48 +0100, a ecrit:
> * configfrag.ac: add the global option USER32; although it makes sense
> for 64-bit versions only, it can be used by future 64-bit
> architectiures and not only x86_64.
> Also, change the default setting to be disabled; now that we have a
> working full 64-bit system, it makes sense to consider it the common
> choice.
> * x86_64/configfrag.ac: define the correct 32-bit cpu if USER32 is
> enabled.
> ---
> configure.ac | 10 ++++++++++
> x86_64/configfrag.ac | 14 ++++----------
> 2 files changed, 14 insertions(+), 10 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 3665d47a..52205eee 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -147,6 +147,16 @@ AC_ARG_ENABLE([device-drivers],
> [;;
> esac]
>
> +AC_ARG_ENABLE([user32],
> +AS_HELP_STRING([--enable-user32], [enable 32-bit user space on a 64-bit
> kernel]))
> +[if [ x"$enable_user32" = xyes ]; then]
> +AC_DEFINE([USER32], [], [enable 32-bit user on 64-bit kernel])
> +AM_CONDITIONAL([enable_user32], [true])
> +[else]
> +AM_CONDITIONAL([enable_user32], [false])
> +[fi]
> +
> +
> # Platform-specific configuration.
>
> # PC AT.
> diff --git a/x86_64/configfrag.ac b/x86_64/configfrag.ac
> index 71f8d8c1..f119a9a3 100644
> --- a/x86_64/configfrag.ac
> +++ b/x86_64/configfrag.ac
> @@ -27,22 +27,16 @@ dnl USE OF THIS SOFTWARE.
> # Determines the size of the CPU cache line.
> AC_DEFINE([CPU_L1_SHIFT], [6], [CPU_L1_SHIFT])
>
> - AC_ARG_ENABLE([user32],
> - AS_HELP_STRING([--disable-user32], [disable 32-bit user on 64-bit
> kernel]))
> - [if [ x"$enable_user32" != xno ]; then]
> - AC_DEFINE([USER32], [], [enable 32-bit user on 64-bit kernel])
> - AM_CONDITIONAL([enable_user32], [true])
> - [else]
> - AM_CONDITIONAL([enable_user32], [false])
> - [fi]
> + [if test x"$enable_user32" = xyes ; then
> + user32_cpu=i686
> + fi]
>
> [# Does the architecture provide machine-specific interfaces?
> mach_machine_routines=1
>
> enable_pae=yes;;
> *)]
> - AM_CONDITIONAL([HOST_x86_64], [false])
> - AM_CONDITIONAL([enable_user32], [true])[;;
> + AM_CONDITIONAL([HOST_x86_64], [false])[;;
> esac
>
> case $host_platform in
> --
> 2.39.2
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
- Re: [PATCH 02/14] add basic user-space tests with qemu, (continued)
- [PATCH 08/14] add thread creation helper to tests, Luca Dariz, 2023/12/28
- [PATCH 03/14] add mach_host tests, Luca Dariz, 2023/12/28
- [PATCH 13/14] add basic thread tests, Luca Dariz, 2023/12/28
- [PATCH 01/14] USER32: change default to disabled and make it a general option, Luca Dariz, 2023/12/28
- Re: [PATCH 01/14] USER32: change default to disabled and make it a general option,
Samuel Thibault <=
- [PATCH 06/14] adjust range when changing memory pageability, Luca Dariz, 2023/12/28
- [PATCH 04/14] add gsync tests, Luca Dariz, 2023/12/28
- [PATCH 07/14] add basic vm tests, Luca Dariz, 2023/12/28
- [PATCH 09/14] add syscall tests, Luca Dariz, 2023/12/28