tsunami_io.hh (4762:c94e103c83ad) | tsunami_io.hh (5336:c7e21f4e5a2e) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 59 unchanged lines hidden (view full) --- 68 69 /** Schedule the RTC periodic interrupt */ 70 void scheduleIntr(); 71 72 /** Event process to occur at interrupt*/ 73 virtual void process(); 74 75 /** Event description */ | 1/* 2 * Copyright (c) 2004-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; --- 59 unchanged lines hidden (view full) --- 68 69 /** Schedule the RTC periodic interrupt */ 70 void scheduleIntr(); 71 72 /** Event process to occur at interrupt*/ 73 virtual void process(); 74 75 /** Event description */ |
76 virtual const char *description(); | 76 virtual const char *description() const; |
77 }; 78 79 private: 80 std::string _name; 81 const std::string &name() const { return _name; } 82 83 /** RTC periodic interrupt event */ 84 RTCEvent event; --- 71 unchanged lines hidden (view full) --- 156 157 public: 158 CounterEvent(Counter*); 159 160 /** Event process */ 161 virtual void process(); 162 163 /** Event description */ | 77 }; 78 79 private: 80 std::string _name; 81 const std::string &name() const { return _name; } 82 83 /** RTC periodic interrupt event */ 84 RTCEvent event; --- 71 unchanged lines hidden (view full) --- 156 157 public: 158 CounterEvent(Counter*); 159 160 /** Event process */ 161 virtual void process(); 162 163 /** Event description */ |
164 virtual const char *description(); | 164 virtual const char *description() const; |
165 166 friend class Counter; 167 }; 168 169 private: 170 std::string _name; 171 const std::string &name() const { return _name; } 172 --- 186 unchanged lines hidden --- | 165 166 friend class Counter; 167 }; 168 169 private: 170 std::string _name; 171 const std::string &name() const { return _name; } 172 --- 186 unchanged lines hidden --- |