[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Mach branch, master, updated. v1.8-409-gd3048112
From: |
Samuel Thibault |
Subject: |
[SCM] GNU Mach branch, master, updated. v1.8-409-gd3048112 |
Date: |
Thu, 24 Nov 2022 19:26:36 -0500 (EST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".
The branch, master has been updated
via d30481122a5d24ad6b921062f93b9172ef922fc3 (commit)
from 448e3d676a35e027219c5db224204892dc026b3b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d30481122a5d24ad6b921062f93b9172ef922fc3
Author: Flavio Cruz <flaviocruz@gmail.com>
Date: Tue Nov 22 23:46:31 2022 -0500
Update mach_debug interfaces to use struct.
The new interfaces will be compatible both with a 64 bits kernel and
userland and 64 bits kernel and 32 bit userland. Also removed many
of the uses of natural_t where an unsigned int suffices. Ideally we
should replace natural_t with something more portable such as uintptr_t
or a basic int type for counters since for the most part we don't
need counters to have the same width as the pointer type.
* i386/include/mach/i386/vm_types.h: Define rpc_unsigned_long.
* include/mach/mach_types.defs: Define type rpc_vm_offset_t.
* include/mach_debug/hash_info.h: Use unsigned int instead of natural_t.
* include/mach_debug/mach_debug_types.defs: Update cache_info_t,
hash_info_bucket_t, vm_region_info_t, vm_object_info_t and
vm_page_info_t to use struct.
* include/mach_debug/slab_info.h: Use rpc_vm_size_t and
rpc_unsigned_long for compatibility with 32 bits userland.
* include/mach_debug/vm_info.h: Update struct fields to use the correct
types and avoid natural_t whenever we just want to keep a count of
something.
Message-Id: <Y32lp1SuV01ImCx9@viriathus>
-----------------------------------------------------------------------
Summary of changes:
i386/include/mach/i386/machine_types.defs | 14 +++++++
i386/include/mach/i386/vm_types.h | 2 +
include/mach/mach_types.defs | 4 +-
include/mach_debug/hash_info.h | 2 +-
include/mach_debug/mach_debug_types.defs | 65 ++++++++++++++++++++++++++++---
include/mach_debug/slab_info.h | 20 +++++-----
include/mach_debug/vm_info.h | 38 +++++++++---------
7 files changed, 109 insertions(+), 36 deletions(-)
hooks/post-receive
--
GNU Mach
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Mach branch, master, updated. v1.8-409-gd3048112,
Samuel Thibault <=