pollevent.hh (10905:a6ca6831e775) pollevent.hh (11168:f98eb2da15a4)
1/*
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;

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

55 virtual ~PollEvent();
56
57 void disable();
58 void enable();
59 virtual void process(int revent) = 0;
60
61 bool queued() { return queue != 0; }
62
1/*
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;

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

55 virtual ~PollEvent();
56
57 void disable();
58 void enable();
59 virtual void process(int revent) = 0;
60
61 bool queued() { return queue != 0; }
62
63 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE;
64 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE;
63 void serialize(CheckpointOut &cp) const override;
64 void unserialize(CheckpointIn &cp) override;
65};
66
67class PollQueue
68{
69 private:
70 typedef std::vector<PollEvent *> eventvec_t;
71 eventvec_t events;
72

--- 20 unchanged lines hidden ---
65};
66
67class PollQueue
68{
69 private:
70 typedef std::vector<PollEvent *> eventvec_t;
71 eventvec_t events;
72

--- 20 unchanged lines hidden ---