diff options
Diffstat (limited to 'src/cpu/testers')
-rw-r--r-- | src/cpu/testers/rubytest/Check.cc | 6 | ||||
-rw-r--r-- | src/cpu/testers/rubytest/Check.hh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/testers/rubytest/Check.cc b/src/cpu/testers/rubytest/Check.cc index 213b8e8d2..7de3415b1 100644 --- a/src/cpu/testers/rubytest/Check.cc +++ b/src/cpu/testers/rubytest/Check.cc @@ -189,7 +189,7 @@ Check::initiateAction() // } PacketPtr pkt = new Packet(req, cmd); - uint8_t* writeData = new uint8_t; + uint8_t *writeData = new uint8_t; *writeData = m_value + m_store_count; pkt->dataDynamic(writeData); @@ -245,7 +245,7 @@ Check::initiateCheck() req->setThreadContext(index, 0); PacketPtr pkt = new Packet(req, MemCmd::ReadReq); - uint8_t* dataArray = new uint8_t[CHECK_SIZE]; + uint8_t *dataArray = new uint8_t[CHECK_SIZE]; pkt->dataDynamicArray(dataArray); // push the subblock onto the sender state. The sequencer will @@ -306,7 +306,7 @@ Check::performCallback(NodeID proc, SubBlock* data) DPRINTF(RubyTest, "Check callback\n"); // Perform load/check for (int byte_number=0; byte_number<CHECK_SIZE; byte_number++) { - if (uint8(m_value + byte_number) != data->getByte(byte_number)) { + if (uint8_t(m_value + byte_number) != data->getByte(byte_number)) { panic("Action/check failure: proc: %d address: %s data: %s " "byte_number: %d m_value+byte_number: %d byte: %d %s" "Time: %d\n", diff --git a/src/cpu/testers/rubytest/Check.hh b/src/cpu/testers/rubytest/Check.hh index 1d84b446b..6396189cc 100644 --- a/src/cpu/testers/rubytest/Check.hh +++ b/src/cpu/testers/rubytest/Check.hh @@ -68,7 +68,7 @@ class Check void debugPrint(); TesterStatus m_status; - uint8 m_value; + uint8_t m_value; int m_store_count; NodeID m_initiatingNode; Address m_address; |