diff options
author | Luca Dariz <luca@orpolo.org> | 2022-06-28 12:10:46 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-08-28 02:55:04 +0200 |
commit | fbee0946546031defb17748af759ba9ceefb81e2 (patch) | |
tree | 50163ce35181950cfe40964be4d15bf667573149 /include | |
parent | 14cf1efc9dfa388c3dfec3815abd114f2a36bd38 (diff) | |
download | gnumach-fbee0946546031defb17748af759ba9ceefb81e2.tar.gz gnumach-fbee0946546031defb17748af759ba9ceefb81e2.tar.bz2 gnumach-fbee0946546031defb17748af759ba9ceefb81e2.zip |
fix host_info structure definition
* 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>
Message-Id: <20220628101054.446126-8-luca@orpolo.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/mach/host_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ }; |