mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
It's reorg only. No new cache autodetection stuff has been added.
coregrind
pub_tool_cpuid.h is removed as it is no longer exposed to tools.
Its contents has moved to pub_core_cpuid.h.
New file: coregrind/m_cache.c to contain the autodetect code for
cache configurations and define other cache characteristics that
cannot be autodetected (i.e. icaches_maintain_coherence). Most of
cg-arch/x86-amd64.c was moved here. The cache detection code for
x86-64 needs to be fixed to properly initialise VexCacheInfo. It
currently has cachegrind bias.
m_cache.c exports a single function (to coregrind):
VG_(machine_get_cache_info)(VexArchInfo *vai)
This function is called from VG_(machine_get_hwcaps) after hwcaps have
been detected.
cachegrind
Remove cachegrind/cg-{ppc32,ppc43,arm,mips32,s390x,x86-amd64}.c
With the exception of x86/mamd64 those were only establishing a
default cache configuration and that is so small a code snippet that
a separate file is no longer warranted. So, the code was moved to
cg-arch.c. Code was added to extract the relevant info from
x86-amd64.
New function maybe_tweak_LLc which captures the code to massage the
LLc cache configuration into something the simulator can handle. This
was originally in cg-x86-amd64.c but should be used to all architectures.
Changed warning message about missing cache auto-detect feature
to be more useful. Adapted filter-stderr scripts accordingly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13028
68 lines
1.8 KiB
Makefile
68 lines
1.8 KiB
Makefile
|
|
# The "nobase" means that the vki/ path on some of them will be preserved
|
|
# when they are installed into $(includedir)/valgrind.
|
|
nobase_pkginclude_HEADERS = \
|
|
pub_tool_basics.h \
|
|
pub_tool_basics_asm.h \
|
|
pub_tool_aspacehl.h \
|
|
pub_tool_aspacemgr.h \
|
|
pub_tool_clientstate.h \
|
|
pub_tool_clreq.h \
|
|
pub_tool_debuginfo.h \
|
|
pub_tool_errormgr.h \
|
|
pub_tool_execontext.h \
|
|
pub_tool_gdbserver.h \
|
|
pub_tool_poolalloc.h \
|
|
pub_tool_hashtable.h \
|
|
pub_tool_inner.h \
|
|
pub_tool_libcbase.h \
|
|
pub_tool_libcassert.h \
|
|
pub_tool_libcfile.h \
|
|
pub_tool_libcprint.h \
|
|
pub_tool_libcproc.h \
|
|
pub_tool_libcsetjmp.h \
|
|
pub_tool_libcsignal.h \
|
|
pub_tool_machine.h \
|
|
pub_tool_mallocfree.h \
|
|
pub_tool_options.h \
|
|
pub_tool_oset.h \
|
|
pub_tool_redir.h \
|
|
pub_tool_replacemalloc.h \
|
|
pub_tool_seqmatch.h \
|
|
pub_tool_signals.h \
|
|
pub_tool_sparsewa.h \
|
|
pub_tool_stacktrace.h \
|
|
pub_tool_threadstate.h \
|
|
pub_tool_tooliface.h \
|
|
pub_tool_vki.h \
|
|
pub_tool_vkiscnums.h \
|
|
pub_tool_vkiscnums_asm.h \
|
|
pub_tool_wordfm.h \
|
|
pub_tool_xarray.h \
|
|
valgrind.h \
|
|
vki/vki-linux.h \
|
|
vki/vki-darwin.h \
|
|
vki/vki-posixtypes-amd64-linux.h \
|
|
vki/vki-posixtypes-ppc32-linux.h \
|
|
vki/vki-posixtypes-ppc64-linux.h \
|
|
vki/vki-posixtypes-x86-linux.h \
|
|
vki/vki-posixtypes-arm-linux.h \
|
|
vki/vki-posixtypes-s390x-linux.h \
|
|
vki/vki-posixtypes-mips32-linux.h \
|
|
vki/vki-amd64-linux.h \
|
|
vki/vki-ppc32-linux.h \
|
|
vki/vki-ppc64-linux.h \
|
|
vki/vki-x86-linux.h \
|
|
vki/vki-arm-linux.h \
|
|
vki/vki-s390x-linux.h \
|
|
vki/vki-mips32-linux.h \
|
|
vki/vki-scnums-amd64-linux.h \
|
|
vki/vki-scnums-ppc32-linux.h \
|
|
vki/vki-scnums-ppc64-linux.h \
|
|
vki/vki-scnums-x86-linux.h \
|
|
vki/vki-scnums-arm-linux.h \
|
|
vki/vki-scnums-s390x-linux.h \
|
|
vki/vki-scnums-mips32-linux.h \
|
|
vki/vki-scnums-darwin.h \
|
|
vki/vki-xen.h
|