events.hh (2760:4dbf498165ac) events.hh (4429:74351f86f49a)
1/*
2 * Copyright (c) 2004-2006 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;

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

33#define __KERN_LINUX_EVENTS_HH__
34
35#include "kern/system_events.hh"
36
37namespace Linux {
38
39class DebugPrintkEvent : public SkipFuncEvent
40{
1/*
2 * Copyright (c) 2004-2006 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;

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

33#define __KERN_LINUX_EVENTS_HH__
34
35#include "kern/system_events.hh"
36
37namespace Linux {
38
39class DebugPrintkEvent : public SkipFuncEvent
40{
41 private:
42 bool raw;
43
44 public:
41 public:
45 DebugPrintkEvent(PCEventQueue *q, const std::string &desc, Addr addr,
46 bool r = false)
47 : SkipFuncEvent(q, desc, addr), raw(r) {}
42 DebugPrintkEvent(PCEventQueue *q, const std::string &desc, Addr addr)
43 : SkipFuncEvent(q, desc, addr) {}
48 virtual void process(ThreadContext *xc);
49};
50
51}
52
53#endif
44 virtual void process(ThreadContext *xc);
45};
46
47}
48
49#endif