server: Define a generic context structure instead of using the platform-specific version.
diff --git a/server/procfs.c b/server/procfs.c
index 5978bbc..3b74e14 100644
--- a/server/procfs.c
+++ b/server/procfs.c
@@ -200,20 +200,14 @@
}
/* retrieve the thread registers */
-void get_thread_context( struct thread *thread, CONTEXT *context, unsigned int flags )
+void get_thread_context( struct thread *thread, context_t *context, unsigned int flags )
{
- /* all other regs are handled on the client side */
- assert( (flags | CONTEXT_i386) == CONTEXT_DEBUG_REGISTERS );
-
/* FIXME: get debug registers */
}
/* set the thread registers */
-void set_thread_context( struct thread *thread, const CONTEXT *context, unsigned int flags )
+void set_thread_context( struct thread *thread, const context_t *context, unsigned int flags )
{
- /* all other regs are handled on the client side */
- assert( (flags | CONTEXT_i386) == CONTEXT_DEBUG_REGISTERS );
-
/* FIXME: set debug registers */
}