From 84da503d37645277669d520844f79c6fcf2150e7 Mon Sep 17 00:00:00 2001 From: Yan Lee <142193536+yanleeG@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:21:43 +0800 Subject: [PATCH] mem: Fix callback of functional access in port wrapper (#938) In previous implementation of port_wrapper, recvFunctional() will call timing request callback. This should be a typo and this change fix the typo. --- src/mem/port_wrapper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/port_wrapper.cc b/src/mem/port_wrapper.cc index 3b61fb2e97..8333900fa2 100644 --- a/src/mem/port_wrapper.cc +++ b/src/mem/port_wrapper.cc @@ -120,7 +120,7 @@ void ResponsePortWrapper::recvFunctional(PacketPtr packet) { panic_if(!recvFunctionalCb, "RecvFunctionalCallback is empty."); - recvTimingReqCb(packet); + recvFunctionalCb(packet); } void