summaryrefslogtreecommitdiff
path: root/viengoos
AgeCommit message (Collapse)Author
2009-02-23Record a thread's last four fault locations.Neal H. Walfield
2009-02-23Fix memory dump output.Neal H. Walfield
2009-02-23Fix overflow error.Neal H. Walfield
2009-02-22Pass the irq number as a parameter to the irq handler.Neal H. Walfield
2009-02-22Add support to break into the kernel on escape.Neal H. Walfield
2009-02-21Add sleep and time support.Neal H. Walfield
2009-02-21Fix cap.policy handling.Neal H. Walfield
2009-02-20Correctly update access and dirty bits.Neal H. Walfield
2009-02-19Disable is_clean when NDEBUG is defined.Neal H. Walfield
2009-02-19Improve memory dump's output.Neal H. Walfield
2009-02-16Fix the pager.Neal H. Walfield
2009-02-16Rewrite CPU scheduler. Fix a few bugs. Add a lot of debugging support.Neal H. Walfield
2009-02-13Almost the status quo.Neal H. Walfield
2009-01-20Fix computation of last_frame.Neal H. Walfield
2009-01-20 Neal H. Walfield <neal@gnu.org> * memory.c (memory_add): Fix the calculate of the last page. * object.h (object_to_object_desc): Make assert more verbose.
2009-01-20Update the type of some of struct activity's fields.Neal H. Walfield
2009-01-20 Neal H. Walfield <neal@gnu.org> * activity.h (struct activity): Change free_bad_karma, free_goal, free_allocations, free_initial_allocation, and frames_excluded types' to uint32_t.
2009-01-20Reserve required memory and add available memory to zalloc.Neal H. Walfield
2009-01-20Add sysdeps/x86_64/sys.h.Neal H. Walfield
2009-01-20Enable more code.Neal H. Walfield
2009-01-20Only use l4 functions when USE_L4 is defined.Neal H. Walfield
2009-01-20 Neal H. Walfield <neal@gnu.org> * memory.c [USE_L4]: Only include <l4.h> and "sigma0.h" in this case. * object.c [USE_L4]: Only include <l4.h> in this case. (memory_object_alloc) [! USE_L4]: Print warning and abort. * pager.c (is_clean) [! USE_L4]: Likewise. * server.c [USE_L4]: Only include <l4.h> and <l4/pagefault.h> in this case. * thread.c [USE_L4]: Only include <l4.h> and <l4/thread-start.h> in this case. (thread_lookup) [! USE_L4]: Print warning and abort. (thread_init) [! USE_L4]: Likewise. (thread_deinit) [! USE_L4]: Likewise. (thread_commission) [! USE_L4]: Likewise. (thread_decommission) [! USE_L4]: Likewise. (thread_exregs) [! USE_L4]: Likewise. (thread_activate) [! USE_L4]: Likewise.
2009-01-20Use correct printf format specifiers.Neal H. Walfield
2009-01-20 Neal H. Walfield <neal@gnu.org> * activity.c (activity_destroy): Use correct printf format specifiers. * memory.c: Include <inttypes.h>. (memory_reserve): Use correct printf format specifiers. (memory_reserve_dump): Likewise. (memory_is_reserved): Likewise. (memory_add): Likewise. * object.c (memory_object_alloc): Likewise. (memory_object_destroy): Likewise. (folio_object_alloc): Likewise. * thread.c (thread_activate): Likewise.
2009-01-20Correct computation in zalloc code.Neal H. Walfield
2009-01-20 Neal H. Walfield <neal@gnu.org> * zalloc.c (ZONE_SIZE): Correct computation.
2009-01-20Have the kernel link against libhurd-btree-kernel.a, not libhurd-btree.a.Neal H. Walfield
2009-01-20 Neal H. Walfield <neal@gnu.org> * Makefile.am (viengoos_LDADD): Replace libhurd-btree.a with libhurd-btree-kernel.a.
2009-01-20Lower the number of priority levels to 2^6.Neal H. Walfield
libviengoos/ 2009-01-20 Neal H. Walfield <neal@gnu.org> * viengoos/cap.h (VG_OBJECT_PRIORITY_BITS): Lower to 6. viengoos/ 2009-01-20 Neal H. Walfield <neal@gnu.org> * activity.c (activity_prepare): Adjust initialization code according to the number of priority levels.
2009-01-20Small clean ups, a few asserts, and a bit of debugging output.Neal H. Walfield
2009-01-19Add a nice interface to the page table data structures.Neal H. Walfield
2009-01-19Use sysdeps-style building.Neal H. Walfield
2009-01-18Use correct format and type specifiers.Neal H. Walfield
benchmarks/ 2009-01-18 Neal H. Walfield <neal@gnu.org> * activity-distribution.c: Include <stdint.h> and <inttypes.h>. (main): Use correct printf format specifiers. * cache.c: Include <stdint.h> and <inttypes.h>. (helper): Use correct printf format specifiers. (helper_fork): Likewise. (object_read): Likewise. (object_fill): Likewise. (main): Likewise. hieronymus/ 2009-01-18 Neal H. Walfield <neal@gnu.org> * hieronymus.c (main): Use correct printf format specifiers. libc-parts/ 2009-01-18 Neal H. Walfield <neal@gnu.org> * backtrace.c (backtrace_print): Use correct printf format specifiers. * panic.c (panic_): Likewise. * profile.c (profile_stats_dump): Likewise. * process-spawn.c: Include <stdint.h> and <inttypes.h>. (process_spawn): Use correct printf format specifiers. libhurd-mm/ 2009-01-18 Neal H. Walfield <neal@gnu.org> * as.h: Include <stdint.h> and <inttypes.h>. (AS_CHECK_SHADOW): Use correct printf format specifiers. * as.c: Include <stdint.h> and <inttypes.h>. (free_space_split): Use correct printf format specifiers. (as_free): Likewise. (as_alloced_dump): Likewise. * as-lookup.c: Include <stdint.h> and <inttypes.h>. (as_lookup_rel_internal): Use correct printf format specifiers. * as-build.c: Include <stdint.h> and <inttypes.h>. (as_build): Use correct printf format specifiers. * as-dump.c: Include <stdint.h> and <inttypes.h>. (print_nr): Remove function. (do_walk): Use correct printf format specifiers. Use precision specifiers instead of print_nr. * anonymous.c (fault): Use correct printf format specifiers. (anonymous_pager_alloc): Likewise. * exceptions.c (hurd_activation_handler_normal): Likewise. (hurd_activation_handler_activated): Likewise. (hurd_activation_handler_init_early): Likewise. * map.h: Include <inttypes.h>. (map_find): Use correct printf format specifiers. (REGION_FMT): Likewise. (MAP_FMT): Likewise. * map.c (map_install): Likewise. (map_split): Likewise. * madvise.c (madvise): Likewise. * mmap.c (munmap): Likewise. * mprotect.c (mprotect): Likewise. * pager.c (pager_init): Likewise. * storage.h (storage_alloc): Likewise. * storage.c (storage_alloc): Likewise. (storage_init): Likewise. libpthread/ 2009-01-18 Neal H. Walfield <neal@gnu.org> * sysdeps/generic/pt-mutex-unlock.c (__pthread_mutex_unlock): Use correct printf format specifiers. * sysdeps/viengoos/pt-wakeup.c (__pthread_wakeup): Likewise. libviengoos/ 2009-01-18 Neal H. Walfield <neal@gnu.org> * viengoos/addr.h: Include <inttypes.h>. (VG_ADDR_FMT): Use correct printf format specifiers. (VG_ADDR_VOID): Use the correct constant suffix. (vg_addr_prefix): Likewise. (vg_addr_chop): Likewise. (vg_addr_extract): Likewise. (vg_addr_extend): Do both of the above. * viengoos/cap.h: Include <inttypes.h>. (VG_OID_FMT): Use correct printf format specifiers. (VG_CAP_FMT): Likewise. (vg_cap_copy_x): Likewise. * viengoos/thread.h: Include <inttypes.h>. (vg_niltid): Use the correct constant suffix. (VG_THREAD_ID_FMT): Use correct printf format specifiers. ruth/ 2009-01-18 Neal H. Walfield <neal@gnu.org> * ruth.c (main): Use correct printf format specifiers. viengoos/ 2009-01-18 Neal H. Walfield <neal@gnu.org> * object.h (object_desc_to_object): Use correct printf format specifiers.
2009-01-18Remove printf hacks.Neal H. Walfield
2009-01-17Link to the standard set of libraries. Remove some of the duplicated code.Neal H. Walfield
2009-01-16Merge branch 'master' into viengoos-on-bare-metal (Separate L4 code).Neal H. Walfield
Conflicts: Makefile.am README configure.ac gcc/Makefrag.am libhurd-btree/Makefile.am viengoos/Makefile.am
2009-01-16Conditionalize use of l4 functions on USE_L4.Neal H. Walfield
/ 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.
2009-01-16Compile a libhurd-btree compiled with the kernel compile flags.Neal H. Walfield
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-15Add lowlevel initialisation code.Tom Bachmann
Code to initialise gdt, tss, idt, pic and rtc, mostly from hird.
2009-01-09Build kernel specific versions of utility libs.Tom Bachmann
2009-01-09Hack newlib to compile on x86_64.Tom Bachmann
2009-01-09Merge commit 'origin/master' into viengoos-x86-64Tom Bachmann
Conflicts: Makefile.am configure.ac libpthread/sysdeps/generic/bits/memory.h viengoos/object.c viengoos/object.h viengoos/pager.c viengoos/server.c viengoos/thread.c viengoos/thread.h viengoos/viengoos.c viengoos/zalloc.c
2008-12-18Support batching requests for object_discarded_clear.Neal H. Walfield
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-18Zero the right variable.Neal H. Walfield
2008-12-18 Neal H. Walfield <neal@gnu.org> * server.c (server_loop): Set SLOT to 0, not TARGET.
2008-12-18Use the right root when looking up capabilities.Neal H. Walfield
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-18Use the first capability in a message to designate the reply messenger.Neal H. Walfield
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-18Add vg_ prefix to the (hopefully) remaining viengoos symbols.Neal H. Walfield
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.
2008-12-17Replace remaining rm_ prefixes with vg_.Neal H. Walfield
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-17Replace RPC rm prefix with vg.Neal H. Walfield
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.
2008-12-17Fix blotched commit.Neal H. Walfield
2008-12-17Add a "vg_" to public viengoos identifiers.Neal H. Walfield
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-17Add a "vg_" to public viengoos identifiers.Neal H. Walfield
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-17Move activation interface definitions to libviengoos.Neal H. Walfield
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-17Replace use of l4_msb, etc. with vg_msb.Neal H. Walfield
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.
2008-12-17Fix include file.Neal H. Walfield
2008-12-17 Neal H. Walfield <neal@gnu.org> * server.c: Don't include "rm.h" but <viengoos/misc.h>.
2008-12-17Move viengoos header files to libviengoos.Neal H. Walfield
/ 2008-12-17 Neal H. Walfield <neal@gnu.org> * libviengoos: New directory. * Makefile.am (SUBDIRS): Add libviengoos. * configure.ac: Include libviengoos/headers.m4. Generate libviengoos/Makefile. hurd/ 2008-12-17 Neal H. Walfield <neal@gnu.org> * activity.h: Move to ../libviengoos/viengoos. Update references. * addr-trans.h: Likewise. * addr.h: Likewise. * cap.h: Likewise. * folio.h: Likewise. * futex.h: Likewise. * ipc.h: Likewise. * message.h: Likewise. * messenger.h: Likewise. * rpc.h: Likewise. * thread.h: Move viengoos specific bits... * ../libviengoos/viengoos/thread.h: ... to this new file. * thread.h (struct hurd_utcb): New structure. * exceptions.h (hurd_utcb): Use a struct hurd_utcb *, not a struct vg_utcb *. Update users. (hurd_activation_state_alloc): Likewise. (hurd_activation_state_free): Likewise. (hurd_activation_handler_activated): Likewise. (hurd_activation_handler_normal): Likewise. * t-addr-trans.c: Move to ../libviengoos. * t-addr.c: Likewise. * t-rpc.c: Likewise. * Makefile.am (TESTS, check_PROGRAMS, t_addr_CPPFLAGS) (t_addr_SOURCES, t_addr_trans_CPPFLAGS, t_addr_trans_SOURCES) (t_rpc_CPPFLAGS, t_rpc_SOURCES): Move from this file... * ../libviengoos/Makefile.am. * Makefile.am (includehurd_HEADERS): Don't mention activity.h, addr-trans.h, addr.h, cap.h, folio.h, futex.h, ipc.h, message.h or messenger.h. * headers.m4: Don't create a link to hurd/addr.h, hurd/addr-trans.h, hurd/cap.h, hurd/folio.h, hurd/rpc.h, hurd/activity.h, hurd/futex.h, hurd/message.h, hurd/messenger.h or hurd/ipc.h. libviengoos/ 2008-12-17 Neal H. Walfield <neal@gnu.org> * Makefile.am: New file. * headers.m4: Likewise. * t-addr-trans.c: Move from ../hurd. * t-addr.c: Likewise. * t-rpc.c: Likewise. * viengoos.h: Likewise. * viengoos/activity.h: Likewise. * viengoos/addr-trans.h: Likewise. * viengoos/addr.h: Likewise. * viengoos/cap.h: Likewise. * viengoos/folio.h: Likewise. * viengoos/futex.h: Likewise. * viengoos/ipc.h: Likewise. * viengoos/message.h: Likewise. * viengoos/messenger.h: Likewise. * viengoos/rpc.h: Likewise. * viengoos/misc.h: Moved from ../viengoos/rm.h. * viengoos/thread.h: New file split from ../hurd/thread.h. libpthread/ 2008-12-17 Neal H. Walfield <neal@gnu.org> * Makefile.am: New file. * headers.m4: Likewise. * t-addr-trans.c: Move from ../hurd. * t-addr.c: Likewise. * t-rpc.c: Likewise. * viengoos.h: Likewise. * viengoos/activity.h: Likewise. * viengoos/addr-trans.h: Likewise. * viengoos/addr.h: Likewise. * viengoos/cap.h: Likewise. * viengoos/folio.h: Likewise. * viengoos/futex.h: Likewise. * viengoos/ipc.h: Likewise. * viengoos/message.h: Likewise. * viengoos/messenger.h: Likewise. * viengoos/rpc.h: Likewise. * viengoos/misc.h: Moved from ../viengoos/rm.h. * viengoos/thread.h: New file split from ../hurd/thread.h. viengoos/ 2008-12-17 Neal H. Walfield <neal@gnu.org> * rm.h: Move from here... * ../libviengoos/viengoos/misc.h: ... to here. Update users. * headers.m4: Don't link rm.h to hurd/rm.h. * Makefile.am (viengoos_SOURCES): Remove rm.h.