Go to the documentation of this file.
29 #ifndef __SPARC_PROCESS_HH__
30 #define __SPARC_PROCESS_HH__
55 template<
class IntType>
79 Addr max_stack_size = 8 * 1024 * 1024;
83 Addr stack_base = 0xf0000000
ULL;
86 Addr next_thread_stack_base = stack_base - max_stack_size;
89 Addr mmap_end = 0x70000000;
91 memState = std::make_shared<MemState>(
this, brk_point, stack_base,
93 next_thread_stack_base,
97 void argsInit(
int intSize,
int pageSize);
113 Addr max_stack_size = 8 * 1024 * 1024;
117 Addr stack_base = 0x80000000000
ULL;
120 Addr next_thread_stack_base = stack_base - max_stack_size;
123 Addr mmap_end = 0xfffff80000000000
ULL;
125 memState = std::make_shared<MemState>(
this, brk_point, stack_base,
127 next_thread_stack_base,
131 void argsInit(
int intSize,
int pageSize);
134 #endif // __SPARC_PROCESS_HH__
Sparc64Process(const ProcessParams ¶ms, ::Loader::ObjectFile *objFile)
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
Sparc32Process(const ProcessParams ¶ms, ::Loader::ObjectFile *objFile)
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
::Loader::MemoryImage image
void argsInit(int intSize, int pageSize)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
::Loader::ObjectFile * objFile
void argsInit(int intSize, int pageSize)
void argsInit(int pageSize)
SparcProcess(const ProcessParams ¶ms, ::Loader::ObjectFile *objFile, Addr _StackBias)
T roundUp(const T &val, const U &align)
This function is used to align addresses in memory.
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
const Params & params() const
#define ULL(N)
uint64_t constant
std::shared_ptr< MemState > memState
Generated on Tue Mar 23 2021 19:41:20 for gem5 by doxygen 1.8.17