sc_process_handle.hh (12852:300397457d0b) | sc_process_handle.hh (12898:9c24286c7ddb) |
---|---|
1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 52 unchanged lines hidden (view full) --- 61}; 62 63class sc_unwind_exception : public std::exception 64{ 65 public: 66 virtual const char *what() const throw(); 67 virtual bool is_reset() const; 68 | 1/* 2 * Copyright 2018 Google, Inc. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions are 6 * met: redistributions of source code must retain the above copyright 7 * notice, this list of conditions and the following disclaimer; 8 * redistributions in binary form must reproduce the above copyright --- 52 unchanged lines hidden (view full) --- 61}; 62 63class sc_unwind_exception : public std::exception 64{ 65 public: 66 virtual const char *what() const throw(); 67 virtual bool is_reset() const; 68 |
69 protected: 70 sc_unwind_exception(); | 69 // Nonstandard. 70 // These should be protected, but I think this is to enable catch by 71 // value. 72 public: |
71 sc_unwind_exception(const sc_unwind_exception &); 72 virtual ~sc_unwind_exception() throw(); | 73 sc_unwind_exception(const sc_unwind_exception &); 74 virtual ~sc_unwind_exception() throw(); |
75 76 protected: 77 sc_unwind_exception(); |
|
73}; 74 75class sc_process_handle 76{ 77 private: 78 ::sc_gem5::Process *_gem5_process; 79 80 public: --- 70 unchanged lines hidden --- | 78}; 79 80class sc_process_handle 81{ 82 private: 83 ::sc_gem5::Process *_gem5_process; 84 85 public: --- 70 unchanged lines hidden --- |