summaryrefslogtreecommitdiff
path: root/libpthread/sysdeps/viengoos
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-12-17 13:11:52 +0100
committerNeal H. Walfield <neal@gnu.org>2008-12-17 13:11:52 +0100
commitca828476fdb64ad4615bc6f580c2a451e78fcc1c (patch)
tree320c2e89e34bbcd0ba82b64728f831b8536cc286 /libpthread/sysdeps/viengoos
parentf0d7e0e0ee0cb0362ee79739922a76faef17917c (diff)
Move viengoos header files to libviengoos.
/ 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.
Diffstat (limited to 'libpthread/sysdeps/viengoos')
-rw-r--r--libpthread/sysdeps/viengoos/bits/pthread-np.h6
-rw-r--r--libpthread/sysdeps/viengoos/ia32/pt-setup.c2
-rw-r--r--libpthread/sysdeps/viengoos/ia32/signal-dispatch-lowlevel.c2
-rw-r--r--libpthread/sysdeps/viengoos/pt-block.c2
-rw-r--r--libpthread/sysdeps/viengoos/pt-hurd-utcb-np.c2
-rw-r--r--libpthread/sysdeps/viengoos/pt-setactivity-np.c4
-rw-r--r--libpthread/sysdeps/viengoos/pt-sysdep.h2
-rw-r--r--libpthread/sysdeps/viengoos/pt-thread-alloc.c2
-rw-r--r--libpthread/sysdeps/viengoos/pt-thread-dealloc.c2
-rw-r--r--libpthread/sysdeps/viengoos/pt-thread-halt.c2
-rw-r--r--libpthread/sysdeps/viengoos/pt-thread-start.c2
-rw-r--r--libpthread/sysdeps/viengoos/pt-wakeup.c2
12 files changed, 15 insertions, 15 deletions
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 <hurd/addr.h>
-#include <hurd/exceptions.h>
+#include <viengoos/addr.h>
+#include <hurd/thread.h>
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 <l4.h>
#include <pt-internal.h>
-#include <hurd/thread.h>
+#include <viengoos/thread.h>
#include <hurd/exceptions.h>
/* 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 <pt-internal.h>
#include <sig-internal.h>
-#include <hurd/thread.h>
+#include <viengoos/thread.h>
#include <pthread.h>
#include <stdint.h>
#include <atomic.h>
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 <pt-internal.h>
#include <hurd/stddef.h>
-#include <hurd/futex.h>
+#include <viengoos/futex.h>
/* 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 <pt-internal.h>
-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 <pt-internal.h>
-#include <hurd/addr.h>
-#include <hurd/thread.h>
+#include <viengoos/addr.h>
+#include <viengoos/thread.h>
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 <hurd/startup.h>
#include <hurd/storage.h>
#include <hurd/as.h>
-#include <hurd/addr.h>
+#include <viengoos/addr.h>
#include <hurd/message-buffer.h>
#include <pt-internal.h>
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 <hurd/exceptions.h>
#include <hurd/mutex.h>
#include <hurd/as.h>
-#include <hurd/addr.h>
+#include <viengoos/addr.h>
#include <hurd/message-buffer.h>
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 <pt-internal.h>
-#include <hurd/thread.h>
+#include <viengoos/thread.h>
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 <assert.h>
#include <errno.h>
#include <string.h>
-#include <hurd/thread.h>
+#include <viengoos/thread.h>
#include <hurd/exceptions.h>
#include <pt-internal.h>
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 <pt-internal.h>
#include <hurd/stddef.h>
-#include <hurd/futex.h>
+#include <viengoos/futex.h>
#include <stdint.h>
/* Wakeup THREAD. */