system.hh (6757:d86d3d6e5326) system.hh (7650:42684e4656e6)
1/*
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
11 * unmodified and in its entirety in all distributions of the software,
12 * modified or unmodified, in source code or in binary form.
13 *
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
9 * redistributions in binary form must reproduce the above copyright

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

32#define __ARCH_ARM_SYSTEM_HH__
33
34#include <string>
35#include <vector>
36
37#include "params/ArmSystem.hh"
38#include "sim/sim_object.hh"
39#include "sim/system.hh"
14 * Copyright (c) 2002-2005 The Regents of The University of Michigan
15 * All rights reserved.
16 *
17 * Redistribution and use in source and binary forms, with or without
18 * modification, are permitted provided that the following conditions are
19 * met: redistributions of source code must retain the above copyright
20 * notice, this list of conditions and the following disclaimer;
21 * redistributions in binary form must reproduce the above copyright

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

44#define __ARCH_ARM_SYSTEM_HH__
45
46#include <string>
47#include <vector>
48
49#include "params/ArmSystem.hh"
50#include "sim/sim_object.hh"
51#include "sim/system.hh"
52#include "kern/linux/events.hh"
40
41class ArmSystem : public System
42{
53
54class ArmSystem : public System
55{
56 private:
57 /**
58 * PC based event to skip the dprink() call and emulate its
59 * functionality
60 */
61 Linux::DebugPrintkEvent *debugPrintkEvent;
62
43 public:
44 typedef ArmSystemParams Params;
45 ArmSystem(Params *p);
46 ~ArmSystem();
47
48 virtual Addr fixFuncEventAddr(Addr addr)
49 {
50 //XXX This may eventually have to do something useful.
51 return addr;
52 }
53};
54
55#endif
56
63 public:
64 typedef ArmSystemParams Params;
65 ArmSystem(Params *p);
66 ~ArmSystem();
67
68 virtual Addr fixFuncEventAddr(Addr addr)
69 {
70 //XXX This may eventually have to do something useful.
71 return addr;
72 }
73};
74
75#endif
76