sc_process_handle.hh (12899:9a512f5c4e91) | sc_process_handle.hh (12939:5256de693153) |
---|---|
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 --- 63 unchanged lines hidden (view full) --- 72 public: 73 sc_unwind_exception(const sc_unwind_exception &); 74 virtual ~sc_unwind_exception() throw(); 75 76 protected: 77 sc_unwind_exception(); 78}; 79 | 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 --- 63 unchanged lines hidden (view full) --- 72 public: 73 sc_unwind_exception(const sc_unwind_exception &); 74 virtual ~sc_unwind_exception() throw(); 75 76 protected: 77 sc_unwind_exception(); 78}; 79 |
80// Deprecated 81// An incomplete version of sc_process_b to satisfy the tests. 82class sc_process_b 83{ 84 public: 85 const char *file; 86 int lineno; 87 const char *name(); 88 const char *kind(); 89}; 90 91// Deprecated 92sc_process_b *sc_get_curr_process_handle(); 93static inline sc_process_b * 94sc_get_current_process_b() 95{ 96 return sc_get_curr_process_handle(); 97} 98 99// Deprecated/nonstandard 100struct sc_curr_proc_info 101{ 102 sc_process_b *process_handle; 103 sc_curr_proc_kind kind; 104 sc_curr_proc_info() : process_handle(NULL), kind(SC_NO_PROC_) {} 105}; 106typedef const sc_curr_proc_info *sc_curr_proc_handle; 107 |
|
80class sc_process_handle 81{ 82 private: 83 ::sc_gem5::Process *_gem5_process; 84 85 public: 86 sc_process_handle(); 87 sc_process_handle(const sc_process_handle &); --- 74 unchanged lines hidden --- | 108class sc_process_handle 109{ 110 private: 111 ::sc_gem5::Process *_gem5_process; 112 113 public: 114 sc_process_handle(); 115 sc_process_handle(const sc_process_handle &); --- 74 unchanged lines hidden --- |