From f00347a20fca8bbb0a955723bf068e23fe66f170 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 11 Sep 2012 09:23:56 -0500 Subject: Ruby: Use uint8_t instead of uint8 everywhere --- src/mem/ruby/system/System.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mem/ruby/system/System.cc') diff --git a/src/mem/ruby/system/System.cc b/src/mem/ruby/system/System.cc index c22272e03..8d8db7bbd 100644 --- a/src/mem/ruby/system/System.cc +++ b/src/mem/ruby/system/System.cc @@ -150,7 +150,7 @@ RubySystem::printStats(ostream& out) } void -RubySystem::writeCompressedTrace(uint8* raw_data, string filename, +RubySystem::writeCompressedTrace(uint8_t *raw_data, string filename, uint64 uncompressed_trace_size) { // Create the checkpoint file for the memory @@ -231,7 +231,7 @@ RubySystem::serialize(std::ostream &os) // Restore curTick curTick(curtick_original); - uint8* raw_data = NULL; + uint8_t *raw_data = NULL; if (m_mem_vec_ptr != NULL) { uint64 memory_trace_size = m_mem_vec_ptr->collatePages(raw_data); @@ -264,7 +264,7 @@ RubySystem::serialize(std::ostream &os) } void -RubySystem::readCompressedTrace(string filename, uint8*& raw_data, +RubySystem::readCompressedTrace(string filename, uint8_t *&raw_data, uint64& uncompressed_trace_size) { // Read the trace file @@ -303,7 +303,7 @@ RubySystem::unserialize(Checkpoint *cp, const string §ion) // value of curTick() // clearStats(); - uint8* uncompressed_trace = NULL; + uint8_t *uncompressed_trace = NULL; if (m_mem_vec_ptr != NULL) { string memory_trace_file; -- cgit v1.2.3