|
From: Nicholas N. <nj...@ca...> - 2004-09-10 16:33:49
|
CVS commit by nethercote:
Arch-abstraction:
- add a new file x86/x86_private.h, a header for the x86-specific stuff that is
not seen by the core.
- move some LDT function decls into x86_private.h.
A x86/x86_private.h 1.1 [GPL (v2+)]
M +0 -5 core.h 1.21
M +2 -1 x86/Makefile.am 1.10
M +1 -0 x86/state.c 1.7
--- valgrind/coregrind/core.h #1.20:1.21
@@ -610,9 +610,4 @@ extern Bool VG_(sk_malloc_called_by_sche
------------------------------------------------------------------ */
-/* Alloc & copy, and dealloc. */
-extern VgLdtEntry* VG_(allocate_LDT_for_thread) ( VgLdtEntry* parent_ldt );
-extern void VG_(deallocate_LDT_for_thread) ( VgLdtEntry* ldt );
-extern void VG_(clear_TLS_for_thread) ( VgLdtEntry* tls );
-
/* Simulate the modify_ldt syscall. */
extern Int VG_(sys_modify_ldt) ( ThreadId tid,
--- valgrind/coregrind/x86/Makefile.am #1.9:1.10
@@ -6,5 +6,6 @@
noinst_HEADERS = \
core_arch.h \
- core_arch_asm.h
+ core_arch_asm.h \
+ x86_private.h
noinst_LIBRARIES = libarch.a
--- valgrind/coregrind/x86/state.c #1.6:1.7
@@ -30,4 +30,5 @@
#include "core.h"
+#include "x86_private.h"
#include <sys/ptrace.h>
|