diff options
author | Luca Dariz <luca@orpolo.org> | 2022-04-03 16:59:55 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-27 22:19:18 +0200 |
commit | 3e1702a65fb3caf50c8d09a1b383b0056a5efc82 (patch) | |
tree | a4f687afd3a455bd664daeddf947492fabd16745 /x86_64/configfrag.ac | |
parent | e2f1d502a5a5ab6a8885cc518ed254c79f7ab27c (diff) | |
download | gnumach-3e1702a65fb3caf50c8d09a1b383b0056a5efc82.tar.gz gnumach-3e1702a65fb3caf50c8d09a1b383b0056a5efc82.tar.bz2 gnumach-3e1702a65fb3caf50c8d09a1b383b0056a5efc82.zip |
add rpc_versions for vm types
* vm_types.h: add new types and conversion functions
* mach_types.defs: adapt vm types depending on kernel user/server
* vm_info.h: adapt rpc structure to have uniformly-sized members also
on 64-bit
* x86_64/configfrag.c: add new option to select the user-space variant.
Note that with this change the user-space interface is somehow fixed,
i.e. it can't support 32-bit and 64-bit tasks at the same time.
If this would be needed at some point, this change needs to be reworked.
Signed-off-by: Luca Dariz <luca@orpolo.org>
Message-Id: <20220403145955.120742-3-luca@orpolo.org>
Diffstat (limited to 'x86_64/configfrag.ac')
-rw-r--r-- | x86_64/configfrag.ac | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/x86_64/configfrag.ac b/x86_64/configfrag.ac index e455d31b..71f8d8c1 100644 --- a/x86_64/configfrag.ac +++ b/x86_64/configfrag.ac @@ -27,12 +27,22 @@ 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] + [# Does the architecture provide machine-specific interfaces? mach_machine_routines=1 enable_pae=yes;; *)] - AM_CONDITIONAL([HOST_x86_64], [false])[;; + AM_CONDITIONAL([HOST_x86_64], [false]) + AM_CONDITIONAL([enable_user32], [true])[;; esac case $host_platform in |