Deleted Added
sdiff udiff text old ( 9050:ed4378739b6e ) new ( 10037:5cac77888310 )
full compact
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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

41 */
42
43#ifndef __ARCH_ARM_SYSTEM_HH__
44#define __ARCH_ARM_SYSTEM_HH__
45
46#include <string>
47#include <vector>
48
49#include "kern/linux/events.hh"
50#include "params/ArmSystem.hh"
51#include "sim/sim_object.hh"
52#include "sim/system.hh"
53
54class ArmSystem : public System
55{
56 protected:
57 /**
58 * PC based event to skip the dprink() call and emulate its
59 * functionality
60 */
61 Linux::DebugPrintkEvent *debugPrintkEvent;
62
63 /**
64 * Pointer to the bootloader object
65 */
66 ObjectFile *bootldr;
67
68 public:
69 typedef ArmSystemParams Params;
70 const Params *
71 params() const
72 {
73 return dynamic_cast<const Params *>(_params);
74 }
75

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

96 // but that aren't actually odd aligned
97 if (addr & 0x1)
98 return addr & ~1;
99 return addr;
100 }
101
102 /** true if this a multiprocessor system */
103 bool multiProc;
104};
105
106#endif
107