add write/read functions that have endian conversions in them

when we get a virtual port delete it (even though delete does nothing in these cases)

src/arch/alpha/linux/system.cc:
src/arch/alpha/stacktrace.cc:
src/base/remote_gdb.cc:
src/cpu/simple_thread.cc:
    when we get a virtual port delete it (even though delete does nothing in this case)
src/mem/port.hh:
src/mem/vport.hh:
    add write/read functions that have endian conversions in them

--HG--
extra : convert_revision : 163e05cc038c461f95c92f8ce55422033f9ea513
This commit is contained in:
Ali Saidi
2006-06-08 19:03:58 -04:00
parent 54d4220b00
commit 8ee856f1d5
7 changed files with 106 additions and 16 deletions

View File

@@ -314,9 +314,10 @@ SimpleThread::getVirtPort(ThreadContext *src_tc)
void
SimpleThread::delVirtPort(VirtualPort *vp)
{
// assert(!vp->nullThreadContext());
delete vp->getPeer();
delete vp;
if (vp != virtPort) {
delete vp->getPeer();
delete vp;
}
}