Address.cc (6145:15cca6ab723a) | Address.cc (6154:6bb54dcb940e) |
---|---|
1 2/* 3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 */ 29 30/* 31 * $Id$ 32 */ 33 | 1 2/* 3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 */ 29 30/* 31 * $Id$ 32 */ 33 |
34#include "Address.hh" | 34#include "mem/ruby/common/Address.hh" |
35 36void Address::output(ostream& out) const 37{ 38 // Note: this outputs addresses in the form "ffff", not "0xffff". 39 // This code should always be able to write out addresses in a 40 // format that can be read in by the below input() method. Please 41 // don't change this without talking to Milo first. 42 out << hex << m_address << dec; --- 26 unchanged lines hidden --- | 35 36void Address::output(ostream& out) const 37{ 38 // Note: this outputs addresses in the form "ffff", not "0xffff". 39 // This code should always be able to write out addresses in a 40 // format that can be read in by the below input() method. Please 41 // don't change this without talking to Milo first. 42 out << hex << m_address << dec; --- 26 unchanged lines hidden --- |