system.cc (7723:ee4ac00d0774) system.cc (8229:78bf55f23338)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
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

--- 19 unchanged lines hidden (view full) ---

28 *
29 * Authors: Ali Saidi
30 * Nathan Binkert
31 * Jaidev Patwardhan
32 */
33
34#include "arch/mips/system.hh"
35#include "arch/vtophys.hh"
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007 MIPS Technologies, Inc.
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

--- 19 unchanged lines hidden (view full) ---

28 *
29 * Authors: Ali Saidi
30 * Nathan Binkert
31 * Jaidev Patwardhan
32 */
33
34#include "arch/mips/system.hh"
35#include "arch/vtophys.hh"
36#include "base/loader/object_file.hh"
37#include "base/loader/hex_file.hh"
36#include "base/loader/hex_file.hh"
37#include "base/loader/object_file.hh"
38#include "base/loader/symtab.hh"
39#include "base/trace.hh"
40#include "mem/physical.hh"
41#include "params/MipsSystem.hh"
42#include "sim/byteswap.hh"
43
38#include "base/loader/symtab.hh"
39#include "base/trace.hh"
40#include "mem/physical.hh"
41#include "params/MipsSystem.hh"
42#include "sim/byteswap.hh"
43
44
45using namespace LittleEndianGuest;
46
47MipsSystem::MipsSystem(Params *p) : System(p)
48{
49
50#if FULL_SYSTEM
51 if (p->bare_iron == true) {
52 hexFile = new HexFile(params()->hex_file_name);

--- 104 unchanged lines hidden ---
44using namespace LittleEndianGuest;
45
46MipsSystem::MipsSystem(Params *p) : System(p)
47{
48
49#if FULL_SYSTEM
50 if (p->bare_iron == true) {
51 hexFile = new HexFile(params()->hex_file_name);

--- 104 unchanged lines hidden ---