system.cc (7585:afbc40280b56) | system.cc (7650:42684e4656e6) |
---|---|
1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 27 unchanged lines hidden (view full) --- 36 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 37 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 * 40 * Authors: Ali Saidi 41 */ 42 43#include "arch/arm/system.hh" | 1/* 2 * Copyright (c) 2010 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 27 unchanged lines hidden (view full) --- 36 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 37 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 38 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 * 40 * Authors: Ali Saidi 41 */ 42 43#include "arch/arm/system.hh" |
44#include <iostream> |
|
44 | 45 |
46using namespace std; |
|
45using namespace ArmISA; | 47using namespace ArmISA; |
48using namespace Linux; |
|
46 47ArmSystem::ArmSystem(Params *p) 48 : System(p) 49{ | 49 50ArmSystem::ArmSystem(Params *p) 51 : System(p) 52{ |
53 debugPrintkEvent = addKernelFuncEvent<DebugPrintkEvent>("dprintk"); |
|
50 51} 52 53ArmSystem::~ArmSystem() 54{ | 54 55} 56 57ArmSystem::~ArmSystem() 58{ |
59 delete debugPrintkEvent; |
|
55} 56 57 58ArmSystem * 59ArmSystemParams::create() 60{ 61 return new ArmSystem(this); 62} | 60} 61 62 63ArmSystem * 64ArmSystemParams::create() 65{ 66 return new ArmSystem(this); 67} |