aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-05-02 00:11:22 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-02 07:47:15 +0200
commit0be50de40ee012223eba38e76f19ed08f5429f51 (patch)
tree0dbcb5ec4511e2f6cfb5f7772c5520bbda440fa3 /libdiskfs
parent0afac7ab288a2a259bbc6bdb7e20b686b3913274 (diff)
downloadhurd-0be50de40ee012223eba38e76f19ed08f5429f51.tar.gz
hurd-0be50de40ee012223eba38e76f19ed08f5429f51.tar.bz2
hurd-0be50de40ee012223eba38e76f19ed08f5429f51.zip
Use uintptr_t for message payloads.
A follow up to 92fad38a043b75ed6b435b3efa574ede91dbe9ee in gnumach. Message-Id: <ZFCNasf9bJ9qj+CG@jupiter.tail36e24.ts.net>
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/diskfs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index be4061b4..91b868bb 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -889,13 +889,13 @@ void diskfs_finish_protid (struct protid *cred, struct iouser *user);
extern struct protid * diskfs_begin_using_protid_port (file_t port);
extern struct protid *
-diskfs_begin_using_protid_payload (unsigned long payload);
+diskfs_begin_using_protid_payload (uintptr_t payload);
extern struct diskfs_control * diskfs_begin_using_control_port (fsys_t port);
extern struct diskfs_control *
-diskfs_begin_using_control_port_payload (unsigned long payload);
+diskfs_begin_using_control_port_payload (uintptr_t payload);
extern struct bootinfo *diskfs_begin_using_bootinfo_port (exec_startup_t port);
struct bootinfo *
-diskfs_begin_using_bootinfo_payload (unsigned long payload);
+diskfs_begin_using_bootinfo_payload (uintptr_t payload);
extern void diskfs_end_using_protid_port (struct protid *cred);
extern void diskfs_end_using_control_port (struct diskfs_control *cred);
@@ -913,7 +913,7 @@ diskfs_begin_using_protid_port (file_t port)
}
DISKFS_EXTERN_INLINE struct protid *
-diskfs_begin_using_protid_payload (unsigned long payload)
+diskfs_begin_using_protid_payload (uintptr_t payload)
{
return ports_lookup_payload (diskfs_port_bucket,
payload,
@@ -928,7 +928,7 @@ diskfs_begin_using_control_port (fsys_t port)
}
DISKFS_EXTERN_INLINE struct diskfs_control *
-diskfs_begin_using_control_port_payload (unsigned long payload)
+diskfs_begin_using_control_port_payload (uintptr_t payload)
{
return ports_lookup_payload (diskfs_port_bucket,
payload,
@@ -943,7 +943,7 @@ diskfs_begin_using_bootinfo_port (exec_startup_t port)
}
DISKFS_EXTERN_INLINE struct bootinfo *
-diskfs_begin_using_bootinfo_payload (unsigned long payload)
+diskfs_begin_using_bootinfo_payload (uintptr_t payload)
{
return ports_lookup_payload (diskfs_port_bucket,
payload,