Age | Commit message (Collapse) | Author |
|
2009-01-19 Neal H. Walfield <neal@gnu.org>
* assert.h (build_assert): Use gnulib's version.
|
|
libc-parts/
2009-01-18 Neal H. Walfield <neal@gnu.org>
* inttypes.h: New file.
newlib/
2009-01-18 Neal H. Walfield <neal@gnu.org>
* patches/08-new-newlib-libc-include-inttypes-h.patch: New file.
* Makefile.am (patch_files): Add
08-new-newlib-libc-include-inttypes-h.patch.
|
|
2009-01-18 Neal H. Walfield <neal@gnu.org>
* sysdeps/viengoos/pt-spin.c (_pthread_spin_lock): Don't use a '
in the #warning.
|
|
2009-01-17 Neal H. Walfield <neal@gnu.org>
* sysdeps/viengoos/pt-docancel.c (__pthread_do_cancel): Use
hurd_myself, not l4_myself.
[! USE_L4]: Abort.
* sysdeps/viengoos/pt-wakeup.c (__pthread_wakeup) [! USE_L4]:
Don't call l4_thread_switch.
|
|
2009-01-17 Neal H. Walfield <neal@gnu.org>
* signal/kill.c: Include <string.h>.
* sysdeps/viengoos/pt-sigstate-init.c: Likewise.
|
|
2009-01-17 Neal H. Walfield <neal@gnu.org>
* s_printf.c (FLAG_LONGLONG): Define.
(FLAG_PAD_ZERO): Define.
(FLAG_BASE): Define.
(FLAG_UPPERCASE): Define.
(FLAG_LONG): Define.
(print_nr): Take additional parameters precision and flags. Use
them. Update users.
(print_signed_nr): Likewise.
(s_cvprintf): Support precision, base and type modifiers.
Contributed by Tom Bachmann <e_mc_h2@web.de>.
|
|
2009-01-17 Neal H. Walfield <neal@gnu.org>
* s_printf.c (FLAG_LONGLONG): Define.
(FLAG_PAD_ZERO): Define.
(FLAG_BASE): Define.
(FLAG_UPPERCASE): Define.
(FLAG_LONG): Define.
(print_nr): Take additional parameters precision and flags. Use
them. Update users.
(print_signed_nr): Likewise.
(s_cvprintf): Support precision, base and type modifiers.
Contributed by Tom Bachmann <e_mc_h2@web.de>.
|
|
2009-01-17 Neal H. Walfield <neal@gnu.org>
* Makefile.am [ARCH_X86_64]: Compile with -fPIC.
(routines): Add strcpy.
|
|
/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* Makefile.am (L4_SUBDIRS): New variable. Set to l4 directories
if USE_L4 is true, otherwise leave empty.
(SUBDIRS): Remove libl4 and laden. Replace with $(USE_L4).
Rearrange order.
benchmarks/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* activity-distribution.c (main): Use vg_thread_id_t and
hurd_myself, not l4_thread_id_t and l4_myself.
[USE_L4]: Only l4_sleep in this case.
* cache.c (helper_fork): Use hurd_myself, not l4_myself.
(main) [USE_L4]: Only call _L4_kdb in this case.
* shared-memory-distribution.c (main): Use vg_thread_id_t and
hurd_myself, not l4_thread_id_t and l4_myself.
hieronymus/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* hieronymus.c (main): Use uint64_t, not l4_uint64_t.
(main) [USE_L4]: Don't sleep in this case.
hurd/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* lock.h (ss_mutex_trace_add) [! USE_L4]: Set SS_LOCK_TRACE[I].TID
to zero.
* thread.h (hurd_myself) [USE_L4]: Return l4_myself.
* trace.h (trace_buffer_add) [! USE_L4 && ! RM_INTERN]: Use
hurd_myself, not l4_myself.
[! USE_L4 && RM_INTERN]: Don't print a tid.
libc-parts/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* _exit.c (_exit): Use sched_yield, not l4_yield.
* backtrace.c [USE_L4]: Only include <l4.h> in this case.
[! RM_INTERN]: Include <hurd/thread.h>.
(backtrace_print) [! USE_L4 && ! RM_INTERN]: Use hurd_myself to
get the caller's tid.
[! USE_L4 && RM_INTERN]: Don't print a tid.
* ia32-cmain.c [! USE_L4]: Don't include <l4/globals.h>,
<l4/init.h>, <l4/stubs.h>, or <l4/stubs-init.h>.
(cmain) [! USE_L4]: Don't call l4_init or l4_init_stubs.
* loader.c: Don't include <l4.h>. Include <bits/wordsize.h> and
<endian.h>.
(loader_elf_load): Use __WORDSIZE, __BYTE_ORDER, __LITTLE_ENDIAN
and __BIG_ENDIAN instead of their L4 names.
* panic.c: Include <viengoos/thread.h>.
[! RM_INTERN]: Include <hurd/thread.h>.
(panic_) [! USE_L4 && ! RM_INTERN]: Use hurd_myself, not
l4_myself.
[! USE_L4 && RM_INTERN]: Don't print a tid.
(panic_): Call sched_yield, not l4_yield.
* process-spawn.c (process_spawn) [! USE_L4]: Don't pass utcb and
kip information. Change sp from a l4_word_to to a uintptr_t.
* profile.c [! USE_L4]: Don't include <l4.h>.
(now) [__gnu_hurd_viengoos__ && ! USE_L4]: Just return 0.
(struct profile_block): Change tid to a vg_thread_id_t.
(MYSELF) [__gnu_hurd_viengoos__ && ! USE_L4]: Just return 0.
* s_printf.c (io_buffer_flush) [! USE_L4]: Abort.
libhurd-mm/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* anonymous.h: Don't include <l4/thread.h>. Include
<viengoos/thread.h>.
(struct anonymous_pager): Change fill_thread's type to
vg_thread_id_t.
* anonymous.c (fault): Use hurd_myself and vg_niltid, not
l4_myself and l4_nilthread.
* as-build.c: Don't include <l4.h>.
* as.h: Include <hurd/thread.h>. Don't include <l4/types.h>.
(as_lock): Change as_rwlock_owner's type to vg_thread_id_t. Use
hurd_myself, not l4_myself.
(as_lock_readonly): Likewise.
(as_unlock): Likewise.
* as.c [! USE_L4]: Don't include <l4/types.h> or <l4/kip.h>.
Include <bits/wordsize.h>.
(DATA_ADDR_MAX): Define for 64-bit virtual address spaces.
(as_rwlock_owner): Change type to vg_thread_id_t.
(as_alloc_slow) [USE_L4]: Only check for conflicts with the kip
and utcb in this case.
(as_init) [USE_L4]: Only reserve the kip and utcb in this case.
* exceptions.c [USE_L4]: Only include <l4/thread.h> in this case.
(l4_utcb_state_save) [! USE_L4]: Make a no-op.
(l4_utcb_state_restore) [! USE_L4]: Likewise.
(hurd_activation_handler_normal): Use hurd_myself, not l4_myself.
* map.c: Don't include <l4.h>.
(map_fault): Use VG_WRITE, not L4_FPAGE_WRITABLE.
* storage.c (storage_check_reserve_internal): Change
as_rwlock_owner's type to vg_thread_id_t.
libpthread/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* sysdeps/viengoos/pt-spin.c [USE_L4]: Only include <l4.h> in this
case.
(_pthread_spin_lock): Only implement exponential back off if a
sleep function is available.
* sysdeps/viengoos/pt-stack-alloc.c: Don't include <l4.h>.
* sysdeps/viengoos/pt-sysdep.c (sched_yield) [! USE_L4]: Just
return.
(init_routine) [USE_L4]: Abort.
* sysdeps/viengoos/pt-sysdep.h [USE_L4]: Only include <l4.h> in
this case.
(_pthread_self) [! USE_L4]: Abort.
* sysdeps/viengoos/pt-thread-alloc.c (__pthread_thread_alloc): Use
hurd_myself, not l4_myself.
[! USE_L4]: Abort.
* sysdeps/viengoos/pt-thread-start.c (__pthread_thread_start): Use
hurd_myself, not l4_myself. use uintptr_t, not l4_word_t.
* sysdeps/viengoos/sig-sysdep.h (SIGNAL_DISPATCH_ENTRY)
[! USE_L4]: Abort.
(SIGNAL_DISPATCH_EXIT) [! USE_L4]: Likewise.
libviengoos/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* viengoos/thread.h (VG_READ): Define.
(VG_WRITE): Define.
(VG_EXECUTE): Likewise.
(VG_ACTIVATION_FAULT_INFO_PRINTF): Use them.
ruth/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* ruth.c [USE_L4]: Only include <l4.h> in this case.
(main) [! USE_L4]: Don't print resource manager's thread id.
(main): Use uintptr_t, not l4_word_t. Use hurd_myself, not
l4_myself. Use sched_yield, not l4_yield. Improve
synchronization for object_reply_on_destruction test in case
sched_yield is a no-op.
viengoos/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* cap.h: Don't include <l4.h>.
* mutex.h [USE_L4]: Only include <l4/thread.h> in this case.
(ss_mutex_t) [! USE_L4]: Define to be an int.
(ss_mutex_lock) [! USE_L4]: Make a no-op.
(ss_mutex_unlock) [! USE_L4]: Likewise.
(ss_mutex_trylock) [! USE_L4]: Likewise.
* object.h [USE_L4]: Only include <l4.h> in this case.
(object_desc_unmap) [! USE_L4]: Make a no-op.
(object_desc_flush) [! USE_L4]: Likewise.
* thread.h: Don't include <l4.h>.
(struct thread): Make tid a vg_thread_id_t, not an l4_thread_id_t.
(thread_lookup): Make threadid a vg_thread_id_t, not an
l4_thread_id_t.
|
|
hurd/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* thread.h (AF_REGS_FMT): New macro.
(AF_REGS_PRINTF): Likewise.
libhurd-mm/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* exceptions.c (hurd_activation_stack_dump): Use AF_REGS_FMT and
AF_REGS_PRINTF rather than naming the registers explicitly.
(hurd_activation_handler_normal): Likewise.
|
|
libhurd-btree/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* Makefile.am (lib_LIBRARIES): Add libhurd-btree-kernel.a.
(libhurd_btree_a_CPPFLAGS): Don't include -DNCHECKS.
(libhurd_btree_kernel_a_CPPFLAGS): New variable.
(libhurd_btree_kernel_a_CFLAGS): Likewise.
(libhurd_btree_kernel_a_SOURCES): Likewise.
viengoos/
2009-01-16 Neal H. Walfield <neal@gnu.org>
* Makefile.am (viengoos_LDADD): Link to
../libhurd-btree/libhurd-btree-kernel.a, not
../libhurd-btree/libhurd-btree.a.
|
|
2009-01-16 Neal H. Walfield <neal@gnu.org>
* mm-init.c (mm_init) [!NDEBUG && i386]: Clear STORAGE and assert
that it is not VG_ADDR_VOID before freeing the associated storage.
Assert that the fault callback was called.
|
|
2009-01-16 Neal H. Walfield <neal@gnu.org>
* bits.h (extract_bits): Make W a uintptr_t, not an unsigned int.
(extract_bits_inv): Likewise.
|
|
2009-01-16 Neal H. Walfield <neal@gnu.org>
* btree.h (BTREE_NP): Cast (__BN_NODE_PTR).PTR to a uintptr_t
before using it.
|
|
2008-11-20 Neal H. Walfield <neal@gnu.org>
* slab.h (hurd_slab_constructor_t): Improve documentation.
(hurd_slab_destructor_t): Likewise.
|
|
2009-01-16 Neal H. Walfield <neal@gnu.org>
* configure.ac (--enable-l4-abi): Replace option with...
(--enable-l4): ... this option.
(l4_abi): Set appropriately.
(USE_L4): Define as a preprocessor macro (if appropriate) and an
automake conditional.
* README: Update build instructions.
|
|
/
2008-11-19 Neal H. Walfield <neal@gnu.org>
* configure.ac: Rename amd64 to x86_64. Update users.
binutils/
2008-11-19 Neal H. Walfield <neal@gnu.org>
* patches/00-bfd-config-bfd.patch: New file.
* patches/01-ld-configure-tgt.patch: New file.
* Makefrag.am (patch_files): New variable.
(EXTRA_DIST): Likewise.
($(addsuffix .applied,$(patch_files))): Depend on
binutils/binutils/unpack.stamp and $(patch_files). Apply patches
to the source tree.
(rpatch): New rule.
(binutils/binutils/patch.stamp): Also depend on the applied patch
files.
gcc/
2008-11-19 Neal H. Walfield <neal@gnu.org>
* configury2.patch: New file.
* Makefrag.am (gcc_patch_files): Add configury2.patch.
(gcc/gcc.build/configure.stamp): Only add --with-arch for x86
machines.
libl4/
2008-11-19 Neal H. Walfield <neal@gnu.org>
* headers.m4: Only link the header files if $ARCH is ia32.
libpthread/
2008-11-19 Neal H. Walfield <neal@gnu.org>
* sysdeps/generic/bits/memory.h: New file.
* sysdeps/generic/bits/spin-lock-inline.h: Likewise.
* sysdeps/generic/bits/spin-lock.h: Likewise.
* headers.m4: Link sysroot/include/bits/memory.h to
libpthread/sysdeps/generic/bits/memory.h,
sysroot/include/bits/spin-lock.h to
libpthread/sysdeps/generic/bits/spin-lock.h, and
sysroot/include/bits/spin-lock-inline.h to
libpthread/sysdeps/generic/bits/spin-lock-inline.h.
platform/
2008-11-19 Neal H. Walfield <neal@gnu.org>
* Makefile.am (ARCH_SUBDIR) [ARCH_X86_64]: Set to x86_64.
* amd64/Makefile.am: Move from here...
* x86_64/Makefile.am: ... to here.
* amd64/bits/atomic.h: Move from here...
* x86_64/bits/atomic.h: ... to here.
* amd64/bits/endian.h: Move from here...
* x86_64/bits/endian.h: ... to here.
* amd64/bits/wordsize.h: Move from here...
* x86_64/bits/wordsize.h: ... to here.
* amd64/sys/io.h: Move from here...
* x86_64/sys/io.h: ... to here.
|
|
libviengoos/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* viengoos/cap.h (object_discarded_clear): Take additional
parameter count. Take multiple object addresses.
viengoos/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* server.c (server_loop): Handle multiple objects in
object_discarded_clear.
libhurd-mm/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* anonymous.c (fault): Batch object discard requests.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* server.c (server_loop): Set SLOT to 0, not TARGET.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* server.c (server_loop): Look up capability addresses relative to
TARGET_ROOT, not THREAD->ASPACE in fault and futex. In
thread_exregs, look them up relative to SOURCE->AS_ROOT.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* viengoos/misc.h (vg_method_id_string): Handle VG_messenger_id.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* viengoos/rpc.h (RPC_SEND_UNMARSHAL): Don't error out if there is
more data than we strictly require.
(RPC_REPLY_UNMARSHAL): Likewise.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* viengoos/message.h (vg_message_space): New function.
|
|
libviengoos/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* viengoos/rpc.h (RPC_SEND_MARSHAL): Make the reply messenger the
first capability.
(RPC_SEND_UNMARSHAL): Likewise.
viengoos/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* server.c (server_loop): Use the first capability as the reply
messenger.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* exceptions.c (hurd_activation_state_alloc): Cast UTCB to a void *.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* storage.c (struct storage_desc): Add field owner.
(shadow_setup): Set DESC->OWNER appropriately.
(storage_alloc): Likewise.
(storage_free_): Likewise.
(storage_init): Likewise.
(storage_alloc): Move code that updates DESC to before we call
rm_folio_object_alloc. Unlock DESC->LOCK before calling it.
|
|
hurd/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* thread.h (hurd_myself): Assume UTCB->TID is set correctly.
libhurd-mm/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* exceptions.c (hurd_activation_state_alloc): Set UTCB->TID.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* message-buffer.c (num_threads): New function.
(BUFFERS_LOW_WATER): Define in terms of the number of threads.
(BUFFERS_HIGH_WATER): Likewise.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* message-buffer.c (hurd_message_buffer_alloc): Fix compare and
swap logic.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* message-buffer.c: Include <hurd/mm.h>.
(hurd_message_buffer_free_internal): Remove function. Move body
to...
(hurd_message_buffer_free): ... this function. Update users.
(BUFFERS_HIGH_WATER): New define.
(hurd_message_buffer_alloc): If the number of buffers in the
reserve dips below BUFFERS_LOW_WATER, allocate enough to
BUFFERS_HIGH_WATER.
|
|
hurd/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* RPC: Move to ../libviengoos.
libviengoos/
2008-12-18 Neal H. Walfield <neal@gnu.org>
* RPC: Move here from ../hurd.
|
|
2008-12-18 Neal H. Walfield <neal@gnu.org>
* viengoos/activity.h (struct activity_memory_policy): Rename from
this...
(struct vg_activity_memory_policy): ... to this. Update users.
(struct activity_policy): Rename from this...
(struct vg_activity_policy): ... to this. Update users.
(ACTIVITY_STATS_PERIODS): Rename from this...
(VG_ACTIVITY_STATS_PERIODS): ... to this. Update users.
(struct activity_stats): Rename from this...
(struct vg_activity_stats): ... to this. Update users.
(struct activity_info): Rename from this...
(struct vg_activity_info): ... to this. Update users.
* viengoos/addr.h (struct addr): Rename from this...
(struct vg_addr): ... to this. Update users.
* viengoos/cap.h (struct object_policy): Rename from this...
(struct vg_object_policy): ... to this. Update users.
(struct object_name): Rename from this...
(struct vg_object_name): ... to this. Update users.
(struct object): Rename from this...
(struct vg_object): ... to this. Update users.
* viengoos/folio.h (struct folio_policy): Rename from this...
(struct vg_folio_policy): ... to this. Update users.
(struct folio): Rename for this...
(struct vg_folio): ... to this. Update users.
* viengoos/thread.h
(HURD_EXREGS_SET_UTCB): Rename from this...
(VG_EXREGS_SET_UTCB): ... to this. Update users.
(HURD_EXREGS_SET_EXCEPTION_MESSENGER): Rename from this...
(VG_EXREGS_SET_EXCEPTION_MESSENGER): ... to this. Update users.
(HURD_EXREGS_SET_ASPACE): Rename from this...
(VG_EXREGS_SET_ASPACE): ... to this. Update users.
(HURD_EXREGS_SET_ACTIVITY): Rename from this...
(VG_EXREGS_SET_ACTIVITY): ... to this. Update users.
(HURD_EXREGS_SET_SP): Rename from this...
(VG_EXREGS_SET_SP): ... to this. Update users.
(HURD_EXREGS_SET_IP): Rename from this...
(VG_EXREGS_SET_IP): ... to this. Update users.
(HURD_EXREGS_SET_SP_IP): Rename from this...
(VG_EXREGS_SET_SP_IP): ... to this. Update users.
(HURD_EXREGS_SET_EFLAGS): Rename from this...
(VG_EXREGS_SET_EFLAGS): ... to this. Update users.
(HURD_EXREGS_SET_USER_HANDLE): Rename from this...
(VG_EXREGS_SET_USER_HANDLE): ... to this. Update users.
(HURD_EXREGS_SET_REGS): Rename from this...
(VG_EXREGS_SET_REGS): ... to this. Update users.
(HURD_EXREGS_GET_REGS): Rename from this...
(VG_EXREGS_GET_REGS): ... to this. Update users.
(HURD_EXREGS_START): Rename from this...
(VG_EXREGS_START): ... to this. Update users.
(HURD_EXREGS_STOP): Rename from this...
(VG_EXREGS_STOP): ... to this. Update users.
(HURD_EXREGS_ABORT_SEND): Rename from this...
(VG_EXREGS_ABORT_SEND): ... to this. Update users.
(HURD_EXREGS_ABORT_RECEIVE): Rename from this...
(VG_EXREGS_ABORT_RECEIVE): ... to this. Update users.
(HURD_EXREGS_ABORT_IPC): Rename from this...
(VG_EXREGS_ABORT_IPC): ... to this. Update users.
(struct hurd_thread_exregs_in): Rename form this...
(struct vg_thread_exregs_in): ... to this. Update users.
(struct hurd_thread_exregs_out): Rename form this...
(struct vg_thread_exregs_out): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg_activation. Update users.
(RPC_ID_PREFIX): Define to VG_ACTIVATION. Update users.
(ACTIVATION_fault): Rename from this...
(VG_ACTIVATION_fault): ... to this. Update users.
|
|
libviengoos/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* viengoos/futex.h (vg_futex_using): Rename from this...
(futex_using): ... to this. Update users. Use vg_futex_using,
not rm_futex_using.
(vg_futex): Rename from this...
(futex): ... to this. Update users.
(vg_futex_wait_using): Rename from this...
(futex_wait_using): ... to this. Update users.
(vg_futex_wake_using): Rename from this...
(futex_wake_using): ... to this. Update users.
libpthread/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* sysdeps/viengoos/pt-block.c (__pthread_block): Use
futex_wait_using, not vg_futex_wait_using.
* sysdeps/viengoos/pt-wakeup.c (__pthread_wakeup): Use
futex_wake_using, not vg_futex_wake_using.
|
|
libviengoos/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* viengoos/cap.h (vg_cap_copy): Rename from this...
(vg_cap_copy_simple): ... to this. Update users.
libc-parts/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* process-spawn.c (process_spawn): Don't use vg_cap_copy but
vg_cap_copy_simple.
libhurd-mm/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* as-build-custom.c (as_insert_custom): Don't use vg_cap_copy but
vg_cap_copy_simple.
* as.h (as_insert_full): Likewise.
|
|
libhurd-mm/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* exceptions.c (hurd_activation_fetch): Use
vg_thread_activation_collect_send, not
rm_thread_activation_collect_send.
(hurd_activation_handler_init_early): Use
vg_thread_exregs_send_marshal, not rm_thread_exregs_send_marshal.
viengoos/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* ager.c (update_stats): Use vg_activity_info_reply, not
rm_activity_info_reply.
* pager.c (pager_collect): Likewise.
* object.c (folio_object_alloc): Use
vg_object_reply_on_destruction_reply, not
rm_object_reply_on_destruction_reply.
* server.c (server_loop): Use vg_write_send_unmarshal, not
rm_write_send_unmarshal. Use vg_write_reply, not rm_write_reply.
Use VG_read_send_unmarshal, not rm_read_send_unmarshal. Use
VG_read_reply, not rm_read_reply. Use VG_fault_send_unmarshal, not
rm_fault_send_unmarshal. Use VG_fault_reply, not
rm_fault_reply. Use VG_fault_reply, not rm_fault_reply. Use
VG_folio_alloc_send_unmarshal, not
rm_folio_alloc_send_unmarshal. Use VG_folio_alloc_reply, not
rm_folio_alloc_reply. Use VG_folio_free_send_unmarshal, not
rm_folio_free_send_unmarshal. Use VG_folio_free_reply, not
rm_folio_free_reply. Use VG_folio_object_alloc_send_unmarshal, not
rm_folio_object_alloc_send_unmarshal. Use
VG_folio_object_alloc_reply, not rm_folio_object_alloc_reply. Use
VG_folio_policy_send_unmarshal, not
rm_folio_policy_send_unmarshal. Use VG_folio_policy_reply, not
rm_folio_policy_reply. Use VG_cap_copy_send_unmarshal, not
rm_cap_copy_send_unmarshal. Use VG_cap_copy_reply, not
rm_cap_copy_reply. Use VG_cap_rubout_send_unmarshal, not
rm_cap_rubout_send_unmarshal. Use VG_cap_rubout_reply, not
rm_cap_rubout_reply. Use VG_cap_read_send_unmarshal, not
rm_cap_read_send_unmarshal. Use VG_cap_read_reply, not
rm_cap_read_reply. Use VG_object_discarded_clear_send_unmarshal,
not rm_object_discarded_clear_send_unmarshal. Use
VG_object_discarded_clear_reply, not
rm_object_discarded_clear_reply. Use
VG_object_discard_send_unmarshal, not
rm_object_discard_send_unmarshal. Use VG_object_discard_reply, not
rm_object_discard_reply. Use VG_object_status_send_unmarshal, not
rm_object_status_send_unmarshal. Use VG_object_status_reply, not
rm_object_status_reply. Use VG_object_name_send_unmarshal, not
rm_object_name_send_unmarshal. Use VG_object_name_reply, not
rm_object_name_reply. Use VG_thread_exregs_send_unmarshal, not
rm_thread_exregs_send_unmarshal. Use VG_thread_exregs_reply, not
rm_thread_exregs_reply. Use VG_thread_id_send_unmarshal, not
rm_thread_id_send_unmarshal. Use VG_thread_id_reply, not
rm_thread_id_reply. Use
VG_object_reply_on_destruction_send_unmarshal, not
rm_object_reply_on_destruction_send_unmarshal. Use
VG_activity_policy_send_unmarshal, not
rm_activity_policy_send_unmarshal. Use VG_activity_policy_reply,
not rm_activity_policy_reply. Use VG_activity_info_send_unmarshal,
not rm_activity_info_send_unmarshal. Use VG_activity_info_reply,
not rm_activity_info_reply. Use
VG_thread_activation_collect_send_unmarshal, not
rm_thread_activation_collect_send_unmarshal. Use
VG_thread_activation_collect_reply, not
rm_thread_activation_collect_reply. Use VG_as_dump_send_unmarshal,
not rm_as_dump_send_unmarshal. Use VG_as_dump_reply, not
rm_as_dump_reply. Use VG_futex_reply, not rm_futex_reply. Use
VG_futex_send_unmarshal, not rm_futex_send_unmarshal. Use
VG_futex_reply, not rm_futex_reply. Use VG_futex_reply, not
rm_futex_reply. Use VG_futex_reply, not rm_futex_reply.
2008-12-17 Neal H. Walfield <neal@gnu.org>
* server.c: Don't include <hurd/exceptions.h>.
* thread.c: Likewise.
2008-12-17 Neal H. Walfield <neal@gnu.org>
* zalloc.c: Don't include <l4/math.h>. Include <viengoos/math.h>.
(zfree): Use vg_msb instead of l4_msb.
* ager.c (update_stats): Likewise.
|
|
2008-12-17 Neal H. Walfield <neal@gnu.org>
* viengoos/activity.h (RM_activity_policy): Rename from this...
(VG_activity_policy): ... to this. Update users.
(RM_activity_info): Rename from this...
(VG_activity_info): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
* viengoos/cap.h
(RM_cap_copy): Rename from this...
(VG_cap_copy): ... to this. Update users.
(RM_cap_rubout): Rename from this...
(VG_cap_rubout): ... to this. Update users.
(RM_cap_read): Rename from this...
(VG_cap_read): ... to this. Update users.
(RM_object_discarded_clear): Rename from this...
(VG_object_discarded_clear): ... to this. Update users.
(RM_object_discard): Rename from this...
(VG_object_discard): ... to this. Update users.
(RM_object_status): Rename from this...
(VG_object_status): ... to this. Update users.
(RM_object_reply_on_destruction): Rename from this...
(VG_object_reply_on_destruction): ... to this. Update users.
(RM_object_name): Rename from this...
(VG_object_name): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
* viengoos/folio.h (RM_folio_alloc): Rename from this...
(VG_folio_alloc): ... to this. Update users.
(RM_folio_free): Rename from this...
(Vg_folio_free): ... to this. Update users.
(RM_folio_object_alloc): Rename from this...
(VG_folio_object_alloc): ... to this. Update users.
(RM_folio_policy): Rename from this...
(VG_folio_policy): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
* viengoos/futex.h (RM_futex): Rename from this...
(VG_futex): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
* viengoos/misc.h (RM_write): Rename from this...
(VG_write): ... to this. Update users.
(RM_read): Rename from this...
(VG_read): ... to this. Update users.
(RM_as_dump): Rename from this...
(VG_as_dump): ... to this. Update users.
(RM_fault): Rename from this...
(VG_fault): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
* viengoos/thread.h (RM_thread_exregs): Rename from this...
(RM_thread_exregs): ... to this. Update users.
(RM_thread_id): Rename from this...
(RM_thread_id): ... to this. Update users.
(RM_thread_activation_collect): Rename from this...
(RM_thread_activation_collect): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
|
|
hurd/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* exceptions.h: Merge contents of this file...
* thread.h: ... into this one. Update users.
* headers.m4: Don't link hurd/exceptions.h.
* Makefile.am (includehurd_HEADERS): Remove exceptions.h.
libc-parts/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* backtrace.c: Don't include <hurd/exceptions.h>.
libhurd-mm/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* anonymous.h: Don't include <hurd/exceptions.h>.
* as.h: Likewise.
* exceptions.c: Likewise.
* map.h: Likewise.
* message-buffer.c: Likewise.
* mm-init.c: Likewise.
* as-build.c: Don't include <hurd/exceptions.h>. Include
<viengoos/thread.h> and <viengoos/messenger.h>.
* as-dump.c: Include <viengoos/thread.h> and
<viengoos/messenger.h>.
* as-lookup.c: Likewise.
libpthread/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* sysdeps/viengoos/ia32/pt-setup.c: Don't include
<hurd/exceptions.h> or <viengoos/thread.h>.
* sysdeps/viengoos/pt-startup.c (__pthread_startup): Don't include
<l4.h> or <hurd/exceptions.h>. Include <hurd/thread.h>.
(__pthread_startup): Set pthread->threadid using hurd_myself.
* sysdeps/viengoos/pt-sysdep.h: Don't cinlude
<hurd/exceptions.h>. Include <hurd/thread.h>.
* sysdeps/viengoos/pt-thread-dealloc.c: Don't include
<hurd/exceptions.h>. Include <hurd/thread.h>.
* sysdeps/viengoos/pt-thread-start.c: Don't include
<viengoos/thread.h> or <hurd/exceptions.h>. Include
<hurd/thread.h>.
libviengoos/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* viengoos/misc.h: Don't include <hurd/exceptions.h>.
|
|
|
|
2008-12-17 Neal H. Walfield <neal@gnu.org>
* viengoos/activity.h: Add a "vg_" to public viengoos identifiers.
Update users.
* viengoos/addr-trans.h: Likewise.
* viengoos/addr.h: Likewise.
* viengoos/cap.h: Likewise.
* viengoos/folio.h: Likewise.
* viengoos/futex.h: Likewise.
* viengoos/rpc.h: Likewise.
* viengoos/thread.h: Likewise.
|
|
2008-12-17 Neal H. Walfield <neal@gnu.org>
* viengoos/activity.h: Add a "vg_" to public viengoos identifiers.
Update users.
* viengoos/addr-trans.h: Likewise.
* viengoos/addr.h: Likewise.
* viengoos/cap.h: Likewise.
* viengoos/folio.h: Likewise.
* viengoos/futex.h: Likewise.
* viengoos/rpc.h: Likewise.
* viengoos/thread.h: Likewise.
|
|
2008-12-17 Neal H. Walfield <neal@gnu.org>
* sysdeps/generic/bits/spin-lock.h: New file.
|
|
2008-12-17 Neal H. Walfield <neal@gnu.org>
* rmutex.h (__need_vg_thread_id_t): Don't include <l4/thread.h>.
Define __need_vg_thread_id_t and include <viengoos/thread.h>.
(struct ss_rmutex): Change owner to a vg_thread_id_t.
(SS_RMUTEX_INIT): Use vg_niltid instead of vg_niltid.
(ss_rmutex_lock): Use hurd_myself instead of l4_myself. Use
vg_niltid instead of l4_nilthread.
(ss_rmutex_unlock): Likewise.
(ss_rmutex_trylock): Likewise.
|
|
2008-12-17 Neal H. Walfield <neal@gnu.org>
* viengoos.h: Include <viengoos/activity.h>, <viengoos/addr.h>,
<viengoos/addr-trans.h>, <viengoos/cap.h>, <viengoos/folio.h>,
<viengoos/futex.h>, <viengoos/ipc.h>, <viengoos/math.h>,
<viengoos/message.h>, <viengoos/messenger.h>, and
<viengoos/misc.h>.
|
|
libpthread/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* sysdeps/generic/bits/memory.h: New file.
|
|
2008-12-17 Neal H. Walfield <neal@gnu.org>
* panic.c: Include <backtrace.h>
(panic_): Use backtrace print.
* _exit.c: Include <backtrace.h>
(_exit): Use backtrace print.
|
|
hurd/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* exceptions.h: Don't include <viengoos/cap.h> or <l4/space.h>.
Include <viengoos/addr.h>.
(ACTIVATION_fault, activation_method_id_string)
(struct activation_fault_info, ACTIVATION_FAULT_INFO_FMT)
(ACTIVATION_FAULT_INFO_PRINTF, fault): Move from here...
* ../libviengoos/viengoos/thread.h: ... to here.
libhurd-mm/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* ia32-exception-entry.S: Don't include <hurd/exceptions.h>.
Include <hurd/stddef.h>.
libviengoos/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* ../hurd/exceptions.h (ACTIVATION_fault, activation_method_id_string)
(struct activation_fault_info, ACTIVATION_FAULT_INFO_FMT)
(ACTIVATION_FAULT_INFO_PRINTF, fault): Move from here...
* viengoos/thread.h: ... to here.
|
|
2008-12-17 Neal H. Walfield <neal@gnu.org>
* thread.h: Include <hurd/exceptions.h>.
(struct hurd_utcb): Add field tid.
(hurd_myself): New function.
|
|
libpthread/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* signal/signal-dispatch.c: Include <viengoos/math.h>.
(signal_dispatch): Use vg_lsb64, not l4_lsb64.
* sysdeps/viengoos/pt-sigstate.c (__pthread_sigstate): Likewise.
* signal/sigwaitinfo.c (sigwaitinfo): Use vg_msb64, not l4_msb64.
libviengoos/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* t-addr.c: Don't include <l4/math.h>. Include <viengoos/math.h>.
(main): Use vg_msb64 instead of l4_msb64 and vg_lsb64 instead of
l4_lsb64.
viengoos/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* zalloc.c: Don't include <l4/math.h>. Include <viengoos/math.h>.
(zfree): Use vg_msb instead of l4_msb.
* ager.c (update_stats): Likewise.
|
|
hurd/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* math.h: Move to ../libviengoos/viengoos. Update users.
* bits/ia32/math.h: Remove file.
* headers.m4: Don't link hurd/math.h or hurd/bits/math.h.
libviengoos/
2008-12-17 Neal H. Walfield <neal@gnu.org>
* viengoos/math.h: Move from ../hurd. Rewrite to use gcc builtin
functions.
* Makefile.am (viengoos_headers): Add math.h.
* headers.m4: Link viengoos/math.h.
|
|
2008-12-17 Neal H. Walfield <neal@gnu.org>
* server.c: Don't include "rm.h" but <viengoos/misc.h>.
|