1.1 --- a/libexec/include/exec/process.h Tue Feb 28 22:40:02 2023 +0100
1.2 +++ b/libexec/include/exec/process.h Fri Mar 03 18:15:38 2023 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Support for initialising programs in new tasks and threads.
1.6 *
1.7 - * Copyright (C) 2022 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2022, 2023 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -95,12 +95,14 @@
1.13
1.14 long configure_thread(l4_cap_idx_t server, l4_cap_idx_t mapped_cap = L4_INVALID_CAP);
1.15
1.16 + l4_cap_idx_t get_task();
1.17 +
1.18 long set_parent(l4_cap_idx_t server);
1.19
1.20 long map_capabilities(struct ipc_mapped_cap mapped_caps[],
1.21 bool to_count = true);
1.22
1.23 - long thread_start(l4_addr_t program_start, Stack &st);
1.24 + long thread_start(l4_addr_t program_start, Stack &st, l4_cap_idx_t *thread);
1.25 };
1.26
1.27 /* vim: tabstop=2 expandtab shiftwidth=2