From: Gabe Black Date: Thu, 2 May 2019 07:58:23 +0000 (-0700) Subject: kern: Replace an explicitly instantiated port proxy with one from the tc. X-Git-Tag: v19.0.0.0~798 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f349b0845cb235504c3b3613e828403f1a3fa208;p=gem5.git kern: Replace an explicitly instantiated port proxy with one from the tc. That avoids having to know what type of proxy to create. Change-Id: I311e770ab720061b52f29df0dcc2273e028aa34a Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18578 Tested-by: kokoro Reviewed-by: Jason Lowe-Power Reviewed-by: Brandon Potter Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- diff --git a/src/kern/linux/helpers.cc b/src/kern/linux/helpers.cc index ed58427ec..e514ef8b3 100644 --- a/src/kern/linux/helpers.cc +++ b/src/kern/linux/helpers.cc @@ -94,7 +94,7 @@ Linux::dumpDmesg(ThreadContext *tc, std::ostream &os) { System *system = tc->getSystemPtr(); const SymbolTable *symtab = system->kernelSymtab; - FSTranslatingPortProxy proxy(tc); + PortProxy &proxy = tc->getVirtProxy(); Addr addr_lb = 0, addr_lb_len = 0, addr_first = 0, addr_next = 0; const bool found_symbols =