Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/40235 )

Change subject: dev: Fix compiling the HSA driver device.
......................................................................

dev: Fix compiling the HSA driver device.

This file needs to include cpu/thread_context.hh since it refers to some
of the contents of ThreadContext. The most recent CL to this file was
verified alongside other CLs which changed what other files were
including. That meant that this file could no longer get away with
leaving out its own includes because it was getting them transitively,
but was able to be checked in anyway since it was verified in the
absence of those other CLs.

Change-Id: Ibde30ce6ff8b498396a406c6116b1dbb4285419c
---
M src/dev/hsa/hsa_driver.hh
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/dev/hsa/hsa_driver.hh b/src/dev/hsa/hsa_driver.hh
index fc8131e..616ec94 100644
--- a/src/dev/hsa/hsa_driver.hh
+++ b/src/dev/hsa/hsa_driver.hh
@@ -54,12 +54,12 @@
 #include <unordered_map>

 #include "base/types.hh"
+#include "cpu/thread_context.hh"
 #include "sim/emul_driver.hh"

 struct HSADriverParams;
 class HSADevice;
 class PortProxy;
-class ThreadContext;

 class HSADriver : public EmulatedDriver
 {

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/40235
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ibde30ce6ff8b498396a406c6116b1dbb4285419c
Gerrit-Change-Number: 40235
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to