malta_io.hh (5222:bb733a878f85) | malta_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; --- 65 unchanged lines hidden (view full) --- 74 75 /** Schedule the RTC periodic interrupt */ 76 void scheduleIntr(); 77 78 /** Event process to occur at interrupt*/ 79 virtual void process(); 80 81 /** 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; --- 65 unchanged lines hidden (view full) --- 74 75 /** Schedule the RTC periodic interrupt */ 76 void scheduleIntr(); 77 78 /** Event process to occur at interrupt*/ 79 virtual void process(); 80 81 /** Event description */ |
82 virtual const char *description(); | 82 virtual const char *description() const; |
83 }; 84 85 private: 86 std::string _name; 87 const std::string &name() const { return _name; } 88 89 /** RTC periodic interrupt event */ 90 RTCEvent event; --- 75 unchanged lines hidden (view full) --- 166 167 public: 168 CounterEvent(Counter*); 169 170 /** Event process */ 171 virtual void process(); 172 173 /** Event description */ | 83 }; 84 85 private: 86 std::string _name; 87 const std::string &name() const { return _name; } 88 89 /** RTC periodic interrupt event */ 90 RTCEvent event; --- 75 unchanged lines hidden (view full) --- 166 167 public: 168 CounterEvent(Counter*); 169 170 /** Event process */ 171 virtual void process(); 172 173 /** Event description */ |
174 virtual const char *description(); | 174 virtual const char *description() const; |
175 176 friend class Counter; 177 }; 178 179 private: 180 std::string _name; 181 const std::string &name() const { return _name; } 182 --- 177 unchanged lines hidden --- | 175 176 friend class Counter; 177 }; 178 179 private: 180 std::string _name; 181 const std::string &name() const { return _name; } 182 --- 177 unchanged lines hidden --- |