ISA: generic Linux thread info support
authorDam Sunwoo <dam.sunwoo@arm.com>
Fri, 2 Nov 2012 16:32:00 +0000 (11:32 -0500)
committerDam Sunwoo <dam.sunwoo@arm.com>
Fri, 2 Nov 2012 16:32:00 +0000 (11:32 -0500)
commitac161c1d7294fc755b6c06e23f719f577d926695
tree356f6fca7b368a34e68687ac02bef6f543207022
parentd0678d1c31bbb0c08e58762a36d5d2382b0a537f
ISA: generic Linux thread info support

This patch takes the Linux thread info support scattered across
different ISA implementations (currently in ARM, ALPHA, and MIPS), and
unifies them into a single file.

Adds a few more helper functions to read out TGID, mm, etc.

ISA-specific information (e.g., ALPHA PCBB register) is now moved to
the corresponding isa_traits.hh files.
12 files changed:
src/arch/alpha/isa_traits.hh
src/arch/alpha/kernel_stats.cc
src/arch/alpha/linux/system.cc
src/arch/alpha/linux/threadinfo.hh [deleted file]
src/arch/arm/isa_traits.hh
src/arch/generic/linux/threadinfo.hh [new file with mode: 0644]
src/arch/mips/isa_traits.hh
src/arch/mips/linux/system.cc
src/arch/mips/linux/threadinfo.hh [deleted file]
src/arch/power/isa_traits.hh
src/arch/sparc/isa_traits.hh
src/arch/x86/isa_traits.hh