From ca828476fdb64ad4615bc6f580c2a451e78fcc1c Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Wed, 17 Dec 2008 13:11:52 +0100 Subject: Move viengoos header files to libviengoos. / 2008-12-17 Neal H. Walfield * libviengoos: New directory. * Makefile.am (SUBDIRS): Add libviengoos. * configure.ac: Include libviengoos/headers.m4. Generate libviengoos/Makefile. hurd/ 2008-12-17 Neal H. Walfield * 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 * 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 * 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 * 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. --- libpthread/sysdeps/viengoos/bits/pthread-np.h | 6 +++--- libpthread/sysdeps/viengoos/ia32/pt-setup.c | 2 +- libpthread/sysdeps/viengoos/ia32/signal-dispatch-lowlevel.c | 2 +- libpthread/sysdeps/viengoos/pt-block.c | 2 +- libpthread/sysdeps/viengoos/pt-hurd-utcb-np.c | 2 +- libpthread/sysdeps/viengoos/pt-setactivity-np.c | 4 ++-- libpthread/sysdeps/viengoos/pt-sysdep.h | 2 +- libpthread/sysdeps/viengoos/pt-thread-alloc.c | 2 +- libpthread/sysdeps/viengoos/pt-thread-dealloc.c | 2 +- libpthread/sysdeps/viengoos/pt-thread-halt.c | 2 +- libpthread/sysdeps/viengoos/pt-thread-start.c | 2 +- libpthread/sysdeps/viengoos/pt-wakeup.c | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) (limited to 'libpthread/sysdeps/viengoos') diff --git a/libpthread/sysdeps/viengoos/bits/pthread-np.h b/libpthread/sysdeps/viengoos/bits/pthread-np.h index aea3bab..9986a62 100644 --- a/libpthread/sysdeps/viengoos/bits/pthread-np.h +++ b/libpthread/sysdeps/viengoos/bits/pthread-np.h @@ -24,12 +24,12 @@ #ifndef _BITS_PTHREAD_NP_H #define _BITS_PTHREAD_NP_H 1 -#include -#include +#include +#include int pthread_setactivity_np (addr_t activity); /* Returns the caller's activation state block. */ -struct vg_utcb *pthread_hurd_utcb_np (void) __attribute__ ((pure)); +struct hurd_utcb *pthread_hurd_utcb_np (void) __attribute__ ((pure)); #endif /* bits/pthread-np.h */ diff --git a/libpthread/sysdeps/viengoos/ia32/pt-setup.c b/libpthread/sysdeps/viengoos/ia32/pt-setup.c index 88a60e8..bdd814a 100644 --- a/libpthread/sysdeps/viengoos/ia32/pt-setup.c +++ b/libpthread/sysdeps/viengoos/ia32/pt-setup.c @@ -20,7 +20,7 @@ #include #include -#include +#include #include /* The stack layout used on the i386 is: diff --git a/libpthread/sysdeps/viengoos/ia32/signal-dispatch-lowlevel.c b/libpthread/sysdeps/viengoos/ia32/signal-dispatch-lowlevel.c index 8dd9be7..091815b 100644 --- a/libpthread/sysdeps/viengoos/ia32/signal-dispatch-lowlevel.c +++ b/libpthread/sysdeps/viengoos/ia32/signal-dispatch-lowlevel.c @@ -21,7 +21,7 @@ #include #include -#include +#include #include #include #include diff --git a/libpthread/sysdeps/viengoos/pt-block.c b/libpthread/sysdeps/viengoos/pt-block.c index 548cc3f..8e6a17f 100644 --- a/libpthread/sysdeps/viengoos/pt-block.c +++ b/libpthread/sysdeps/viengoos/pt-block.c @@ -20,7 +20,7 @@ #include #include -#include +#include /* Block THREAD. */ void diff --git a/libpthread/sysdeps/viengoos/pt-hurd-utcb-np.c b/libpthread/sysdeps/viengoos/pt-hurd-utcb-np.c index b3a76f4..ec08baf 100644 --- a/libpthread/sysdeps/viengoos/pt-hurd-utcb-np.c +++ b/libpthread/sysdeps/viengoos/pt-hurd-utcb-np.c @@ -19,7 +19,7 @@ #include -struct vg_utcb * +struct hurd_utcb * pthread_hurd_utcb_np (void) { struct __pthread *thread = _pthread_self (); diff --git a/libpthread/sysdeps/viengoos/pt-setactivity-np.c b/libpthread/sysdeps/viengoos/pt-setactivity-np.c index efcc9b7..db695b9 100644 --- a/libpthread/sysdeps/viengoos/pt-setactivity-np.c +++ b/libpthread/sysdeps/viengoos/pt-setactivity-np.c @@ -19,8 +19,8 @@ #include -#include -#include +#include +#include int pthread_setactivity_np (addr_t activity) diff --git a/libpthread/sysdeps/viengoos/pt-sysdep.h b/libpthread/sysdeps/viengoos/pt-sysdep.h index 0733640..15e0a03 100644 --- a/libpthread/sysdeps/viengoos/pt-sysdep.h +++ b/libpthread/sysdeps/viengoos/pt-sysdep.h @@ -36,7 +36,7 @@ #define PTHREAD_SYSDEP_MEMBERS \ addr_t object; \ vg_thread_id_t threadid; \ - struct vg_utcb *utcb; \ + struct hurd_utcb *utcb; \ struct hurd_message_buffer *lock_message_buffer; \ /* If the above fields are valid. */ \ bool have_kernel_resources; \ diff --git a/libpthread/sysdeps/viengoos/pt-thread-alloc.c b/libpthread/sysdeps/viengoos/pt-thread-alloc.c index 3cc02be..3c7df34 100644 --- a/libpthread/sysdeps/viengoos/pt-thread-alloc.c +++ b/libpthread/sysdeps/viengoos/pt-thread-alloc.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include diff --git a/libpthread/sysdeps/viengoos/pt-thread-dealloc.c b/libpthread/sysdeps/viengoos/pt-thread-dealloc.c index 9e174a9..f7d732b 100644 --- a/libpthread/sysdeps/viengoos/pt-thread-dealloc.c +++ b/libpthread/sysdeps/viengoos/pt-thread-dealloc.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include void diff --git a/libpthread/sysdeps/viengoos/pt-thread-halt.c b/libpthread/sysdeps/viengoos/pt-thread-halt.c index cfa861b..d721500 100644 --- a/libpthread/sysdeps/viengoos/pt-thread-halt.c +++ b/libpthread/sysdeps/viengoos/pt-thread-halt.c @@ -22,7 +22,7 @@ #include -#include +#include void __pthread_thread_halt (struct __pthread *thread) diff --git a/libpthread/sysdeps/viengoos/pt-thread-start.c b/libpthread/sysdeps/viengoos/pt-thread-start.c index f03f4c2..f4478ac 100644 --- a/libpthread/sysdeps/viengoos/pt-thread-start.c +++ b/libpthread/sysdeps/viengoos/pt-thread-start.c @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include #include diff --git a/libpthread/sysdeps/viengoos/pt-wakeup.c b/libpthread/sysdeps/viengoos/pt-wakeup.c index 60804ea..6435689 100644 --- a/libpthread/sysdeps/viengoos/pt-wakeup.c +++ b/libpthread/sysdeps/viengoos/pt-wakeup.c @@ -20,7 +20,7 @@ #include #include -#include +#include #include /* Wakeup THREAD. */ -- cgit v1.2.3