[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use uintptr_t to define vm_size_t/vm_offset_t/vm_address
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] Use uintptr_t to define vm_size_t/vm_offset_t/vm_address |
Date: |
Tue, 27 Dec 2022 00:02:57 +0100 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Flavio Cruz, le dim. 25 déc. 2022 20:48:30 -0500, a ecrit:
> ---
> include/mach/mach_types.defs | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/include/mach/mach_types.defs b/include/mach/mach_types.defs
> index da74a3f2..5e5d0f2f 100644
> --- a/include/mach/mach_types.defs
> +++ b/include/mach/mach_types.defs
> @@ -123,11 +123,7 @@ type ipc_space_t = mach_port_t
> #if defined(KERNEL) && defined(USER32)
> type rpc_vm_size_t = uint32_t;
> #else /* KERNEL and USER32 */
> -#if defined(__x86_64__)
> -type rpc_vm_size_t = uint64_t;
> -#else /* __x86_64__ */
> -type rpc_vm_size_t = uint32_t;
> -#endif /* __x86_64__ */
> +type rpc_vm_size_t = uintptr_t;
> #endif /* KERNEL_SERVER and USER32 */
>
> type rpc_vm_offset_t = rpc_vm_size_t;
> --
> 2.37.2
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.