From ac161c1d7294fc755b6c06e23f719f577d926695 Mon Sep 17 00:00:00 2001 From: Dam Sunwoo Date: Fri, 2 Nov 2012 11:32:00 -0500 Subject: 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. --- src/arch/x86/isa_traits.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/arch/x86') diff --git a/src/arch/x86/isa_traits.hh b/src/arch/x86/isa_traits.hh index 383e56eee..27f20e9b2 100644 --- a/src/arch/x86/isa_traits.hh +++ b/src/arch/x86/isa_traits.hh @@ -71,6 +71,9 @@ namespace X86ISA // Memory accesses can be unaligned const bool HasUnalignedMemAcc = true; + const bool CurThreadInfoImplemented = false; + const int CurThreadInfoReg = -1; + const ExtMachInst NoopMachInst = { 0x0, // No legacy prefixes. 0x0, // No rex prefix. -- cgit v1.2.3