From 74546aac0124a5ba09a0e6bfef18dc3e0b7509b8 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 15 Aug 2006 05:07:15 -0400 Subject: Cleaned up include files and got rid of many using directives in header files. --HG-- extra : convert_revision : 6b11e039cbc061dab75195fa1aebe6ca2cdc6f91 --- src/mem/port_impl.hh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mem/port_impl.hh') diff --git a/src/mem/port_impl.hh b/src/mem/port_impl.hh index e9a159293..b7980bdd2 100644 --- a/src/mem/port_impl.hh +++ b/src/mem/port_impl.hh @@ -28,8 +28,6 @@ * Authors: Ali Saidi */ -#include "arch/isa_specific.hh" -#include "arch/isa_traits.hh" #include "mem/port.hh" #include "sim/byteswap.hh" @@ -37,7 +35,7 @@ template void FunctionalPort::writeHtoG(Addr addr, T d) { - d = TheISA::htog(d); + d = htog(d); writeBlob(addr, (uint8_t*)&d, sizeof(T)); } @@ -48,6 +46,6 @@ FunctionalPort::readGtoH(Addr addr) { T d; readBlob(addr, (uint8_t*)&d, sizeof(T)); - return TheISA::gtoh(d); + return gtoh(d); } -- cgit v1.2.3