exec_context.hh (10935:acd48ddd725f) | exec_context.hh (11005:e7f403b6b76f) |
---|---|
1/* 2 * Copyright (c) 2011-2014 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 240 unchanged lines hidden (view full) --- 249 } 250 251 ThreadContext *tcBase() { return thread.getTC(); } 252 253 /* @todo, should make stCondFailures persistent somewhere */ 254 unsigned int readStCondFailures() const { return 0; } 255 void setStCondFailures(unsigned int st_cond_failures) {} 256 | 1/* 2 * Copyright (c) 2011-2014 ARM Limited 3 * Copyright (c) 2013 Advanced Micro Devices, Inc. 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 240 unchanged lines hidden (view full) --- 249 } 250 251 ThreadContext *tcBase() { return thread.getTC(); } 252 253 /* @todo, should make stCondFailures persistent somewhere */ 254 unsigned int readStCondFailures() const { return 0; } 255 void setStCondFailures(unsigned int st_cond_failures) {} 256 |
257 int contextId() { return thread.contextId(); } | 257 ContextID contextId() { return thread.contextId(); } |
258 /* ISA-specific (or at least currently ISA singleton) functions */ 259 260 /* X86: TLB twiddling */ 261 void 262 demapPage(Addr vaddr, uint64_t asn) 263 { 264 thread.getITBPtr()->demapPage(vaddr, asn); 265 thread.getDTBPtr()->demapPage(vaddr, asn); --- 91 unchanged lines hidden --- | 258 /* ISA-specific (or at least currently ISA singleton) functions */ 259 260 /* X86: TLB twiddling */ 261 void 262 demapPage(Addr vaddr, uint64_t asn) 263 { 264 thread.getITBPtr()->demapPage(vaddr, asn); 265 thread.getDTBPtr()->demapPage(vaddr, asn); --- 91 unchanged lines hidden --- |