diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2022-12-06 23:57:08 -0500 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-12-07 23:26:32 +0100 |
commit | 688a82ff324403dd2b439755a3d95773e691be69 (patch) | |
tree | 8c3da6bc01286b8191bc5709ea4b6911864d0dc6 /kern/ipc_tt.c | |
parent | a2104ef630ca2f2eb264fd39b1adcc891c1ce6c7 (diff) | |
download | gnumach-688a82ff324403dd2b439755a3d95773e691be69.tar.gz gnumach-688a82ff324403dd2b439755a3d95773e691be69.tar.bz2 gnumach-688a82ff324403dd2b439755a3d95773e691be69.zip |
Update kern/ directory to use mach_port_name_t.
Make it clear where exactly we use port names vs port addresses.
Message-Id: <Y5AdJGuzXBMO7YRK@reue>
Diffstat (limited to 'kern/ipc_tt.c')
-rw-r--r-- | kern/ipc_tt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/ipc_tt.c b/kern/ipc_tt.c index 0b10204c..d2a22f9f 100644 --- a/kern/ipc_tt.c +++ b/kern/ipc_tt.c @@ -511,7 +511,7 @@ retrieve_thread_exception(thread) * or other errors. */ -mach_port_t +mach_port_name_t mach_task_self(void) { task_t task = current_task(); @@ -532,7 +532,7 @@ mach_task_self(void) * or other errors. */ -mach_port_t +mach_port_name_t mach_thread_self(void) { thread_t thread = current_thread(); |