[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 07/15] fix host_info structure definition
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 07/15] fix host_info structure definition |
Date: |
Sun, 28 Aug 2022 02:55:10 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Luca Dariz, le mar. 28 juin 2022 12:10:46 +0200, a ecrit:
> * include/mach/host_info.h: replace vm_size_t with rpc_ version for 64
> bit compatibility. Ideally it should use phys_addr_t or another unit
> like KB or MB
>
> Signed-off-by: Luca Dariz <luca@orpolo.org>
Applied, thanks!
> ---
> include/mach/host_info.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/mach/host_info.h b/include/mach/host_info.h
> index 60a6aefd..82f3faac 100644
> --- a/include/mach/host_info.h
> +++ b/include/mach/host_info.h
> @@ -60,7 +60,7 @@ typedef char
> kernel_boot_info_t[KERNEL_BOOT_INFO_MAX];
> struct host_basic_info {
> integer_t max_cpus; /* max number of cpus possible */
> integer_t avail_cpus; /* number of cpus now available */
> - vm_size_t memory_size; /* size of memory in bytes */
> + rpc_vm_size_t memory_size; /* size of memory in bytes */
> cpu_type_t cpu_type; /* cpu type */
> cpu_subtype_t cpu_subtype; /* cpu subtype */
> };
> --
> 2.30.2
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 07/15] fix host_info structure definition,
Samuel Thibault <=