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 * |
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" |
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 |
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 |