[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mach branch, master, updated. v1.8-604-g5447f965

From: Samuel Thibault
Subject: [SCM] GNU Mach branch, master, updated. v1.8-604-g5447f965
Date: Mon, 13 Mar 2023 15:27:46 -0400 (EDT)

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  5447f965f1e109f7ac9aeb91c0e3906969a4adb8 (commit)
      from  bba59e0f7a3cf1a008325b7919e9eb8a170c7c0a (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 5447f965f1e109f7ac9aeb91c0e3906969a4adb8
Author: Flavio Cruz <>
Date:   Mon Mar 13 01:41:57 2023 -0400

    Use c_string to define host_get_kernel_version and 
    The existing definitions for kernel_version_t and kernel_boot_info_t use
    (MACH_MSG_TYPE_STRING, length*8) which result in message types that have
    a single element of 512 or 4096 bytes (set as msgt_size). This results
    in MiG generating mach_msg_type_long_t. Using c_string has the benefit
    of moving this size to be defined as msgt_number which doesn't overflow.
    This will allow us to simplify the 64 bit RPC ABI since all msgt_size can
    be defined with just 8 bits (as it should be expected).
    The resulting implementation is the same but we still need to define new
    RPCs since server and user expect different mach_msg_type_t.
    Message-Id: <>


Summary of changes:
 doc/mach.texi                |  8 ++++----
 include/mach/mach_host.defs  | 16 ++++++++++++++++
 include/mach/mach_types.defs |  4 ++++
 kern/host.c                  |  8 ++++++++
 kern/machine.c               |  8 ++++++++
 5 files changed, 40 insertions(+), 4 deletions(-)

GNU Mach

reply via email to

[Prev in Thread] Current Thread [Next in Thread]