<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/gnumach.git/doc, branch master</title>
<subtitle>Personal GNU Mach development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/gnumach.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/'/>
<updated>2015-07-09T12:13:25Z</updated>
<entry>
<title>Allow non-privileged tasks to wire 64KiB task memory</title>
<updated>2015-07-09T12:13:25Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2015-07-09T12:13:25Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=eaee9424a120c289abc3eeeff331cb0d45efe971'/>
<id>urn:sha1:eaee9424a120c289abc3eeeff331cb0d45efe971</id>
<content type='text'>
* doc/mach.texi (vm_wire): Document that the host port does not have to be
privileged.
* include/mach/mach_hosts.defs (vm_wire): Use mach_port_t instead of
host_priv_t.
* vm/vm_map.h (vm_map): Add user_wired field.
* vm/vm_map.c (vm_map_setup): Initialize user_wired field to 0.
(vm_map_pageable_common, vm_map_entry_delete, vm_map_copy_overwrite,
vm_map_copyout_page_list, vm_map_copyin_page_list): When switching
user_wired_count field of entry between 0 and non-0, accumulate the
corresponding size into the user_wired field of map.
* vm/vm_user.c (vm_wire): Turn host parameter into port parameter, and
inline a version of convert_port_to_host_priv which records whether the host
port is privileged or not.  When it is not privileged, check whether
the additional amount to user_wired will overcome 64KiB.
</content>
</entry>
<entry>
<title>Fix documentation for vm_map</title>
<updated>2014-11-10T02:40:23Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2014-11-10T02:40:23Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=57694037a02dda29bd678dc3b8531bd437682ba7'/>
<id>urn:sha1:57694037a02dda29bd678dc3b8531bd437682ba7</id>
<content type='text'>
doc/mach.texi (vm_map): Document that vm_map uses the address as a
starting hint even when anywhere is TRUE.
</content>
</entry>
<entry>
<title>doc: restore section `Inherited Ports'</title>
<updated>2014-10-10T12:50:46Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-05-25T22:02:50Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=ad0681db8840484c0a18bb69f4a9072d6e405ccd'/>
<id>urn:sha1:ad0681db8840484c0a18bb69f4a9072d6e405ccd</id>
<content type='text'>
Previously, the section `Inherited Ports' was commented out.  This was
done, as the functionality was unused by the Hurd.  The functions
`mach_ports_register' and `mach_ports_lookup' were never removed, and
are exposed to user space.

This patch brings the documentation back and adds a remark at the top,
that the section documents the original intentions for this interface.

I chose bringing back the documentation over removing the
functionality because I like to make use of it as a method for service
discovery that is deliberately orthogonal to the way the service
lookup is usually done in the Hurd.  This can be used to implement
robust low-level debugging facilities.

* doc/mach.texi: Restore section `Inherited Ports'.
</content>
</entry>
<entry>
<title>ipc: provide the protected payload in ipc_kmsg_copyout_header</title>
<updated>2014-10-01T07:03:52Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2013-11-22T15:03:52Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=6b0ceb8aec7dc2d607523d7aadc2fec237ce2ca8'/>
<id>urn:sha1:6b0ceb8aec7dc2d607523d7aadc2fec237ce2ca8</id>
<content type='text'>
* ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): If a protected payload is
set for the destination port, provide it in msgh_protected_payload.
* ipc/mach_msg.c (mach_msg_trap): Likewise in the fast paths.
* doc/mach.texi (Message Receive): Document message semantics with
protected payloads.
</content>
</entry>
<entry>
<title>include: define MACH_MSG_TYPE_PROTECTED_PAYLOAD</title>
<updated>2014-10-01T07:03:52Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2013-11-25T00:27:14Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=a8d611bdbf48906010c6cde67eb6ff720e715cf0'/>
<id>urn:sha1:a8d611bdbf48906010c6cde67eb6ff720e715cf0</id>
<content type='text'>
* include/mach/message.h: Define MACH_MSG_TYPE_PROTECTED_PAYLOAD.
(MACH_MSG_TYPE_LAST): Adjust accordingly.
* doc/mach.texi (Message Format): Document
MACH_MSG_TYPE_PROTECTED_PAYLOAD.
</content>
</entry>
<entry>
<title>include: add msgh_protected_payload to mach_msg_header_t</title>
<updated>2014-10-01T07:03:51Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2013-11-22T09:04:07Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=56dc414b0699d1576fc1deb983a4bd2b0ef10f5d'/>
<id>urn:sha1:56dc414b0699d1576fc1deb983a4bd2b0ef10f5d</id>
<content type='text'>
* include/mach/message.h (mach_msg_header_t): Add
  msgh_protected_payload as a union with msgh_local_port.
* doc/mach.texi (Message Format): Document msgh_protected_payload.
</content>
</entry>
<entry>
<title>ipc: implement mach_port_{set,clear}_protected_payload</title>
<updated>2014-10-01T07:03:51Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2013-11-21T16:23:31Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=c4baf67b71e20d1fdd2cc6bda1a2ea15e9853cdd'/>
<id>urn:sha1:c4baf67b71e20d1fdd2cc6bda1a2ea15e9853cdd</id>
<content type='text'>
* include/mach/mach_port.defs: Add mach_port_{set,clear}_protected_payload.
* ipc/mach_port.c: Implement mach_port_{set,clear}_protected_payload.
* doc/mach.texi (Receive Rights): Document
mach_port_{set,clear}_protected_payload.
</content>
</entry>
<entry>
<title>doc: explain the floating point flag in kdb output</title>
<updated>2014-06-11T08:34:25Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-06-09T16:33:30Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=0ab9ef8ab8c57ab83cb01bef37ca6d30395a43a2'/>
<id>urn:sha1:0ab9ef8ab8c57ab83cb01bef37ca6d30395a43a2</id>
<content type='text'>
* doc/mach.texi (Kernel Debugger Commands): Explain the floating point
flag.
</content>
</entry>
<entry>
<title>doc: fix the number of priorities</title>
<updated>2014-04-30T10:31:09Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-04-30T10:31:09Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=1a9af211b3f0fb93611e6795ce66576b2ab230c8'/>
<id>urn:sha1:1a9af211b3f0fb93611e6795ce66576b2ab230c8</id>
<content type='text'>
The number of priorities has been changed from 32 to 50 in
6a234201081156e6d5742e7eeabb68418b518fad.

* doc/mach.texi: Update accordingly.
</content>
</entry>
<entry>
<title>doc: document task_set_name</title>
<updated>2014-02-05T10:57:56Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-02-01T14:05:58Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=61104ec0056504e675d7096e23c9de3f7fdda2ff'/>
<id>urn:sha1:61104ec0056504e675d7096e23c9de3f7fdda2ff</id>
<content type='text'>
* doc/mach.texi (Task Information): Document the new task_set_name
procedure.
</content>
</entry>
</feed>
