/*
- * Copyright (c) 2011, 2013, 2016-2019 ARM Limited
+ * Copyright (c) 2011, 2013, 2016-2020 ARM Limited
* Copyright (c) 2013 Advanced Micro Devices, Inc.
* All rights reserved.
*
void setThreadState(ImplState *state) { thread = state; }
/** Returns the thread context. */
- ThreadContext *tcBase() { return thread->getTC(); }
+ ThreadContext *tcBase() const { return thread->getTC(); }
public:
/** Returns whether or not the eff. addr. source registers are ready. */
/*
- * Copyright (c) 2011, 2016-2018 ARM Limited
+ * Copyright (c) 2011, 2016-2018, 2020 ARM Limited
* Copyright (c) 2013 Advanced Micro Devices, Inc.
* All rights reserved
*
void dumpAndExit();
- ThreadContext *tcBase() override { return tc; }
+ ThreadContext *tcBase() const override { return tc; }
SimpleThread *threadBase() { return thread; }
InstResult unverifiedResult;
/*
- * Copyright (c) 2014, 2016-2018 ARM Limited
+ * Copyright (c) 2014, 2016-2018, 2020 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
/** @} */
/** Returns a pointer to the ThreadContext. */
- virtual ThreadContext *tcBase() = 0;
+ virtual ThreadContext *tcBase() const = 0;
/**
* @{
/*
- * Copyright (c) 2011-2014, 2016-2018 ARM Limited
+ * Copyright (c) 2011-2014, 2016-2018, 2020 ARM Limited
* Copyright (c) 2013 Advanced Micro Devices, Inc.
* All rights reserved
*
thread.syscall(fault);
}
- ThreadContext *tcBase() override { return thread.getTC(); }
+ ThreadContext *tcBase() const override { return thread.getTC(); }
/* @todo, should make stCondFailures persistent somewhere */
unsigned int readStCondFailures() const override { return 0; }
/*
- * Copyright (c) 2014-2018 ARM Limited
+ * Copyright (c) 2014-2018, 2020 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
}
/** Returns a pointer to the ThreadContext. */
- ThreadContext *tcBase() override { return thread->getTC(); }
+ ThreadContext *tcBase() const override { return thread->getTC(); }
bool
readPredicate() const override