1 |
2004-10-27 Marcus Brinkmann <marcus@gnu.org> |
2004-10-27 Marcus Brinkmann <marcus@gnu.org> |
2 |
|
|
3 |
|
* wortel.h (WORTEL_MSG_GET_FIRST_FREE_THREAD_NO, |
4 |
|
WORTEL_MSG_GET_TASK_CAP_REQUEST, WORTEL_MSG_GET_TASK_CAP_REPLY): |
5 |
|
Define new macro. |
6 |
|
(wortel_get_first_free_thread_no, wortel_get_task_cap_request, |
7 |
|
wortel_get_task_cap_reply): New functions. |
8 |
|
* wortel.c (task_master, task_wortel, first_free_thread_no): New |
9 |
|
global variables. |
10 |
|
(setup_components): Initialize first_free_thread_no. |
11 |
|
(serve_bootstrap_requests): Handle |
12 |
|
WORTEL_MSG_GET_FIRST_FREE_THREAD_NO. |
13 |
|
(start_task): Initialize PHYS_STARTUP->utcb_area. Correctly |
14 |
|
calculate filesz and memsz, and clean out the BSS section. Access |
15 |
|
cap_handle members of the startup data instead cap_id. |
16 |
|
(serve_bootstrap_requests): Store the message before checking for |
17 |
|
a page fault message. Handle the messages |
18 |
|
WORTEL_MSG_GET_FIRST_FREE_THREAD_NO, |
19 |
|
WORTEL_MSG_GET_TASK_CAP_REQUEST, WORTEL_MSG_GET_TASK_CAP_REPLY. |
20 |
|
|
21 |
* startup.c (physmem_map): Change type of argument CONT to |
* startup.c (physmem_map): Change type of argument CONT to |
22 |
hurd_cap_handle_t. |
hurd_cap_handle_t. |
23 |
(cmain): In the startup data, access cap_handle members, not |
(cmain): In the startup data, access cap_handle members, not |