process.cc (5759:6e65ac8a2c80) | process.cc (5771:f58d82cb8b7f) |
---|---|
1/* 2 * Copyright (c) 2001-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; --- 73 unchanged lines hidden (view full) --- 82#if FULL_SYSTEM 83#error "process.cc not compatible with FULL_SYSTEM" 84#endif 85 86// current number of allocated processes 87int num_processes = 0; 88 89template<class IntType> | 1/* 2 * Copyright (c) 2001-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; --- 73 unchanged lines hidden (view full) --- 82#if FULL_SYSTEM 83#error "process.cc not compatible with FULL_SYSTEM" 84#endif 85 86// current number of allocated processes 87int num_processes = 0; 88 89template<class IntType> |
90M5_auxv_t<IntType>::M5_auxv_t(IntType type, IntType val) | 90AuxVector<IntType>::AuxVector(IntType type, IntType val) |
91{ 92 a_type = TheISA::htog(type); 93 a_val = TheISA::htog(val); 94} 95 | 91{ 92 a_type = TheISA::htog(type); 93 a_val = TheISA::htog(val); 94} 95 |
96template class M5_auxv_t<uint32_t>; 97template class M5_auxv_t<uint64_t>; | 96template class AuxVector<uint32_t>; 97template class AuxVector<uint64_t>; |
98 99Process::Process(ProcessParams * params) 100 : SimObject(params), system(params->system), checkpointRestored(false), 101 max_stack_size(params->max_stack_size) 102{ 103 string in = params->input; 104 string out = params->output; 105 string err = params->errout; --- 661 unchanged lines hidden --- | 98 99Process::Process(ProcessParams * params) 100 : SimObject(params), system(params->system), checkpointRestored(false), 101 max_stack_size(params->max_stack_size) 102{ 103 string in = params->input; 104 string out = params->output; 105 string err = params->errout; --- 661 unchanged lines hidden --- |