Age | Commit message (Collapse) | Author |
|
* libhurd-cap: Remove.
* libhurd-cap-server: Likewise.
* physmem: Likewise.
* task: Likewise.
|
|
2005-04-06 Neal H. Walfield <neal@gnu.org>
* mmap.c: Include <hurd/anonymous.h>.
(mmap): Call hurd_anonymous_allocate, not hurd_vm_allocate.
(munmap): Call hurd_vm_release, not hurd_vm_deallocate.
ruth/
2005-04-06 Neal H. Walfield <neal@gnu.org>
* mmap.c: Include <hurd/anonymous.h>.
(mmap): Call hurd_anonymous_allocate, not hurd_vm_allocate.
(munmap): Call hurd_vm_release, not hurd_vm_deallocate.
task/
2005-04-06 Neal H. Walfield <neal@gnu.org>
* mmap.c: Include <hurd/anonymous.h>.
(mmap): Call hurd_anonymous_allocate, not hurd_vm_allocate.
(munmap): Call hurd_vm_release, not hurd_vm_deallocate.
|
|
2005-01-11 Neal H. Walfield <neal@gnu.org>
* libhurd-mm: New directory.
* Makefile.am (SUBDIRS): Add libhurd-mm.
* configure.ac: Add include for libhurd-mm/headers.m4.
(AC_CONFIG_FILES): Add libhurd-mm/Makefile.
deva/
2005-01-11 Neal H. Walfield <neal@gnu.org>
* Makefile.am (deva_SOURCES): Remove physmem-user.h and
physmem-user.c.
(deva_LDADD): Add ../libhurd-btree/libhurd-btree.a and
../libhurd-mm/libhurd-mm.a.
* ia32-cmain.c: Include <hurd/mm.h>.
(pager_tid): New global variable.
(cmain): Allocate a thread that the memory management subsystem
can use as the pager thread. Call hurd_mm_init. Set the
PAGER_TID as the current thread's pager.
* mmap.c: Rewrite to use new interfaces.
* physmem-user.h: Remove obsolete file.
* physmem-user.c: Likewise.
libhurd-mm/
2005-01-11 Neal H. Walfield <neal@gnu.org>
* Makefile.am: Initial check in.
* README: Likewise.
* frame.c: Likewise.
* headers.m4: Likewise.
* map.c: Likewise.
* mm-init.c: Likewise.
* mm.h: Likewise.
* pager.c: Likewise.
* physmem-user.c: Likewise.
* physmem-user.h: Likewise.
* priv.h: Likewise.
* vm.c: Likewise.
* vm.h: Likewise.
physmem/
2005-01-11 Neal H. Walfield <neal@gnu.org>
* Makefile.am (physmem_SOURCES): Add frame-entry.c and frame.c
(physmem_LDADD): Add ../libhurd-btree/libhurd-btree.a.
* frame-entry.c: New file.
* frame.c: New file.
* README: Rewrite.
* container.c: Likewise.
* physmem.h: Likewise.
* physmem.c (create_bootstrap_caps): Change container_t to struct
container *.
task/
2005-01-11 Neal H. Walfield <neal@gnu.org>
* Makefile.am (task_SOURCES): Remove physmem-user.h and
physmem-user.c.
(task_LDADD): Add ../libhurd-btree/libhurd-btree.a and
../libhurd-mm/libhurd-mm.a.
* ia32-cmain.c: Include <hurd/mm.h>.
(pager_tid): New global variable.
(cmain): Allocate a thread that the memory management subsystem
can use as the pager thread. Call hurd_mm_init. Set the
PAGER_TID as the current thread's pager.
* mmap.c: Rewrite to use new interfaces.
* physmem-user.h: Remove obsolete file.
* physmem-user.c: Likewise.
wortel/
2005-01-11 Neal H. Walfield <neal@gnu.org>
* startup.c (physmem_map): Rename . . .
(allocate): . . . to this. Rewrite it.
(map): New function.
(cmain): Call map, not physmem_map.
* wortel.c (setup_components): Allocate an extra thread for the
task server.
(start_elf): Update assert.
|
|
2005-01-07 Neal H. Walfield <neal@gnu.org>
* output.h (debug): Preface __VA_ARGS__ with ## thereby making it
optional.
laden/
2005-01-07 Neal H. Walfield <neal@gnu.org>
* output.h (debug): Preface __VA_ARGS__ with ## thereby making it
optional.
physmem/
2005-01-07 Neal H. Walfield <neal@gnu.org>
* output.h (debug): Preface __VA_ARGS__ with ## thereby making it
optional.
task/
2005-01-07 Neal H. Walfield <neal@gnu.org>
* output.h (debug): Preface __VA_ARGS__ with ## thereby making it
optional.
wortel/
2005-01-07 Neal H. Walfield <neal@gnu.org>
* output.h (debug): Preface __VA_ARGS__ with ## thereby making it
optional.
|
|
2005-01-06 Neal H. Walfield <neal@gnu.org>
* slab.h (hurd_slab_allocate_buffer_t): New type.
(hurd_slab_deallocate_buffer_t): Likewise.
(struct hurd_slab_space): New fields allocate_buffer and
deallocate_buffer.
(HURD_SLAB_SPACE_INITIALIZER): Add new arguments ALLOC and DEALLOC
and take them into account when creating the slab.
(hurd_slab_create): New parameters ALLOCATE_BUFFER and
DEALLOCATE_BUFFER.
(hurd_slab_init): Likewise.
* slab.c (allocate_buffer): New function.
(deallocate_buffer): Likewise.
(reap): When deallocating a buffer, use allocate_buffer.
(grow): When allocating or deallocating a buffer, call
allocate_buffer or deallocate_buffer as appropriate.
(hurd_slab_init): Add new arguments ALLOCATE_BUFFER and
DEALLOCATE_BUFFER and take them into account when setting up
SPACE.
(hurd_slab_create): Likewise.
libhurd-cap/
2005-01-07 Neal H. Walfield <neal@gnu.org>
* cap.c (hurd_cap_init): Supply the allocate_buffer and
deallocate_buffer arguments to hurd_slab_create to conform with
the new semantics.
libhurd-cap-server/
2005-01-07 Neal H. Walfield <neal@gnu.org>
* class-init.c (hurd_cap_class_init_untyped): Supply the
allocate_buffer and deallocate_buffer arguments to
hurd_slab_create to conform with the new semantics.
* obj-entry-space.c (_hurd_cap_obj_entry_space): Likewise for
HURD_SLAB_SPACE_INITIALIZER.
* client-create.c (_hurd_cap_client_space): Likewise.
task/
2005-01-07 Neal H. Walfield <neal@gnu.org>
* thread.c (threads): Supply the allocate_buffer and
deallocate_buffer arguments to HURD_SLAB_SPACE_INITIALIZER to
conform with the new semantics.
|
|
2004-12-01 Neal H. Walfield <neal@gnu.org>
* physmem-user.h (physmem_map): Change CONT from a hurd_cap_id_t
to a hurd_cap_handle_t.
* physmem-user.c (physmem_map): Likewise.
deva/
2004-12-01 Neal H. Walfield <neal@gnu.org>
* physmem-user.h (physmem_map): Change CONT from a hurd_cap_id_t
to a hurd_cap_handle_t.
* physmem-user.c (physmem_map): Likewise.
* task-user.h (task_thread_alloc): Change TASK from a
hurd_cap_id_t to a hurd_cap_handle_t.
* task-user.c (task_thread_alloc): Likewise.
|
|
2004-11-17 Neal H. Walfield <neal@gnu.org>
* Makefile.am (bootdir): New variable.
(boot_PROGRAMS): Use this instead of noinst_PROGRAMS.
laden/
2004-11-17 Neal H. Walfield <neal@gnu.org>
* Makefile.am (bootdir): New variable.
(boot_PROGRAMS): Use this instead of noinst_PROGRAMS.
physmem/
2004-11-17 Neal H. Walfield <neal@gnu.org>
* Makefile.am (bootdir): New variable.
(boot_PROGRAMS): Use this instead of noinst_PROGRAMS.
task/
2004-11-17 Neal H. Walfield <neal@gnu.org>
* Makefile.am (bootdir): New variable.
(boot_PROGRAMS): Use this instead of noinst_PROGRAMS.
wortel/
2004-11-17 Neal H. Walfield <neal@gnu.org>
* Makefile.am (bootdir): New variable.
(boot_PROGRAMS): Use this instead of noinst_PROGRAMS.
|
|
2004-11-17 Neal H. Walfield <neal@gnu.org>
* output.h (debug): Include program_name and __FUNCTION__ in
output.
laden/
2004-11-17 Neal H. Walfield <neal@gnu.org>
* output.h (debug): Include program_name and __FUNCTION__ in
output.
physmem/
2004-11-17 Neal H. Walfield <neal@gnu.org>
* output.h (debug): Include program_name and __FUNCTION__ in
output.
* physmem.c (create_bootstrap_caps): First argument to
debug must be a constant format string.
task/
2004-11-17 Neal H. Walfield <neal@gnu.org>
* output.h (debug): Include program_name and __FUNCTION__ in
output.
wortel/
2004-11-17 Neal H. Walfield <neal@gnu.org>
* output.h (debug): Include program_name and __FUNCTION__ in
output.
|
|
* Makefile.am (task_SOURCES): Add thread.c.
* thread.c: New file.
* task.h (struct thread): New structure.
(thread_t): New typedef.
(thread_set_range, thread_alloc_with_id, thread_alloc,
thread_dealloc): New prototype.
(struct task): Change type of member TASK_ID to hurd_task_id_t.
Change type of member THREADS to thread_t.
* task-class.c (task_reinit): Walk what is now the list of
threads.
(task_thread_alloc): Implement.
(task_demuxer): Change msg ID of task_thread_alloc RPC (256 was
taken by the cap-server implementation).
(task_alloc): Create the list of threads.
* task.c: Remove superflusous newlines from panic messages.
(first_free_thread_no): Move global variable to ...
(setup_threads): ... here (as local). Call thread_set_range.
|
|
2004-11-01 Marcus Brinkmann <marcus@gnu.org>
* cap-server.h (hurd_cap_class_create): Rename to ...
(hurd_cap_class_create_untyped): ... this.
(hurd_cap_class_create): New macro.
(hurd_cap_class_init): Rename to ...
(hurd_cap_class_init_untyped): ... this.
(hurd_cap_class_init): New macro.
(hurd_cap_get_obj_size): New inline function.
(hurd_cap_obj_to_user_untyped, hurd_cap_obj_from_user_untyped):
New inline function.
(hurd_cap_obj_to_user, hurd_cap_obj_from_user): New macro.
* class-alloc.c (hurd_cap_class_alloc): New variable NEW_OBJ, use
it as a temporary placeholder.
* class-create.c (hurd_cap_class_create): Rename to ...
(hurd_cap_class_create_untyped): ... this.
Use hurd_cap_class_init_untyped.
* class-init.c (hurd_cap_class_init): Rename to ...
(hurd_cap_class_init_untyped): ... this.
Add the size of struct hurd_cap_obj to SIZE.
* client-create.c (_hurd_cap_client_alloc): New variable
NEW_CLIENT, use it as a temporary placeholder.
* obj-copy-out.c (_hurd_cap_obj_copy_out): New variable NEW_ENTRY,
use it as a temporary placeholder.
physmem/
2004-11-01 Marcus Brinkmann <marcus@gnu.org>
* container.c (struct container, container_t): Remove member OBJ.
Move struct and typedef to ...
* physmem.h (struct container, container_t): ... here.
(container_alloc): Change type of last argument in prototype to a
pointer to a container_t.
* container.c (container_reinit, container_map): Use
hurd_cap_obj_to_user instead cast.
(container_class_init): Provide type instead size and alignment.
(container_alloc): Add new variable OBJ and use hurd_cap_obj_to_user.
Change type of last argument to a pointer to container_t.
* physmem.c (create_bootstrap_caps): New variable CONTAINER.
Use hurd_cap_obj_from_user to get at the object.
task/
2004-11-01 Marcus Brinkmann <marcus@gnu.org>
* task.h (struct task): Remove member OBJ.
(task_alloc): Change type of last argument to pointer to task_t.
(task_id_get_task): Use hurd_cap_obj_from_user.
* task.c (create_bootstrap_caps): Remove variable STARTUP_CAP.
Add variable TASK. Use hurd_cap_obj_to_user.
* task-class.c (task_reinit): Use hurd_cap_obj_to_user instead of
cast.
(task_class_init): Use type instead size and alignment.
(task_alloc): Change type of last argument to pointer to task_t.
Add new variable OBJ and use it as a temporary placeholder.
deva/
2004-11-01 Marcus Brinkmann <marcus@gnu.org>
* deva-class.c (struct deva): Remove member obj (and add dummy
member foo).
(deva_reinit): Use hurd_cap_obj_to_user instead of cast.
(deva_class_init): Replace size and alignment with type.
(deva_alloc): New variable OBJ. Use it with hurd_cap_class_alloc.
Use hurd_cap_obj_to_user to get at the deva object.
|
|
* Makefile.am (task_SOURCES): Add task-id.c.
* task.h (task_id_to_task_lock, task_id_to_task): New declarations.
(task_id_get_task): New static inline function.
(task_id_enter, task_id_add): New prototypes.
* task.c (create_bootstrap_caps): Enter the new tasks into the
hash table with task_id_enter.
* task-id.c: New file.
|
|
* ia32-cmain.c (switch_thread): Correct start of small sub stack
address. Reported by Rian Hunter <hurd@thelaststop.net>.
|
|
* deva: New directory.
* configure.ac (AC_CONFIG_FILES): Add deva/Makefile.
* Makefile.am (SUBDIRS): Add deva.
deva/
2004-10-28 Marcus Brinkmann <marcus@gnu.org>
* Initial check-in.
physmem/
2004-10-28 Marcus Brinkmann <marcus@gnu.org>
* physmem.c (get_task_cap): Removed.
(bootstrap_final): New function.
(main): Call bootstrap_final, not get_task_cap.
task/
2004-10-28 Marcus Brinkmann <marcus@gnu.org>
* task.c (bootstrap_final): New function.
(main): Call bootstrap_final.
wortel/
2004-10-28 Marcus Brinkmann <marcus@gnu.org>
* wortel.h: Include <stdbool.h>.
(WORTEL_MSG_GET_TASK_CAP): Renamed into
WORTEL_MSG_BOOTSTRAP_FINAL.
(WORTEL_MSG_GET_DEVA_CAP_REQUEST, WORTEL_MSG_GET_DEVA_CAP_REPLY):
Define new macros.
(wortel_get_deva_cap_request, wortel_get_deva_cap_reply,
wortel_bootstrap_final): New functions.
(wortel_get_task_cap): Removed.
* wortel.c (start_elf, start_deva): New functions.
(start_task): Bunch of it is now in start_elf.
(serve_bootstrap_requests): Handle WORTEL_MSG_BOOTSTRAP_FINAL, not
WORTEL_MSG_GET_TASK_CAP. Implement support for starting deva.
Implement WORTEL_MSG_GET_DEVA_CAP_REQUEST and
WORTEL_MSG_GET_DEVA_CAP_REPLY.
* wortel-intern.h (struct wortel_module): New member deva.
|
|
* Makefile.am (task_SOURCES): Add physmem-user.h, physmem-user.c,
malloc-wrap.c, mmap.c and task-class.c.
(EXTRA_task_SOURCES): New target.
* physmem-user.h, physmem-user.h, malloc.c, malloc-wrap.c, mmap.c,
task-class.c: New files.
* task.h (task_class_init, task_alloc): Add prototypes.
* task.c: Include <hurd/startup.h> and <hurd/wortel.h>
(__hurd_startup_data): New declaration.
(create_bootstrap_caps, get_task_id, setup_threads, task_server):
New functions.
(first_free_thread_no): New global variable.
(main): Call setup_threads and initialize server_thread. Call
task_class_init. Create task bucket. Create manager thread and
start it.
|
|
* ia32-cmain.c (cmain): Access cap_handle member in startup_data,
not cap_id.
|
|
2004-10-26 Marcus Brinkmann <marcus@gnu.org>
* startup.h: New file.
* headers.m4: Add hurd/startup.h.
wortel/
2004-10-26 Marcus Brinkmann <marcus@gnu.org>
* startup.c: Rewritten to match new startup data format.
* wortel.c: Include <hurd/startup.h>.
(start_task): Large chunks rewritten to match new
startup data format.
task/
2004-10-26 Marcus Brinkmann <marcus@gnu.org>
* ia32-crt0.S (__hurd_startup_data): New symbol.
(_start): Save the first argument on the stack in
__hurd_startup_data.
* ia32-cmain.c: Include <hurd/startup.h>.
(__hurd_startup_data): New prototype.
(wortel_thread_id, wortel_cap_id): Do not initialize statically.
(cmain): Initialize wortel_thread_id and wortel_cap_id.
|
|
* ia32-cmain.c: Include <hurd/wortel.h>.
(wortel_thread_id, wortel_cap_id): New variables.
* output.c (shutdown): Include <hurd/wortel.h>.
(shutdown): Rewritten using wortel interface.
(putchar): Rewritten using wortel interface.
* task.c: Remove WORTEL_* macros.
|
|
* Initial check-in.
|