Go to the documentation of this file.
29 #ifndef __SPARC_PROCESS_HH__
30 #define __SPARC_PROCESS_HH__
58 template<
class IntType>
82 Addr max_stack_size = 8 * 1024 * 1024;
86 Addr stack_base = 0xf0000000ULL;
89 Addr next_thread_stack_base = stack_base - max_stack_size;
92 Addr mmap_end = 0x70000000;
94 memState = std::make_shared<MemState>(
this, brk_point, stack_base,
96 next_thread_stack_base,
100 void argsInit(
int intSize,
int pageSize);
116 Addr max_stack_size = 8 * 1024 * 1024;
120 Addr stack_base = 0x80000000000ULL;
123 Addr next_thread_stack_base = stack_base - max_stack_size;
126 Addr mmap_end = 0xfffff80000000000ULL;
128 memState = std::make_shared<MemState>(
this, brk_point, stack_base,
130 next_thread_stack_base,
134 void argsInit(
int intSize,
int pageSize);
139 #endif // __SPARC_PROCESS_HH__
SparcProcess(const ProcessParams ¶ms, loader::ObjectFile *objFile, Addr _StackBias)
std::shared_ptr< MemState > memState
const Params & params() const
void argsInit(int intSize, int pageSize)
void argsInit(int intSize, int pageSize)
void argsInit(int pageSize)
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Sparc64Process(const ProcessParams ¶ms, loader::ObjectFile *objFile)
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
static constexpr T roundUp(const T &val, const U &align)
This function is used to align addresses in memory.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Sparc32Process(const ProcessParams ¶ms, loader::ObjectFile *objFile)
loader::MemoryImage image
loader::ObjectFile * objFile
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
Generated on Sun Jul 30 2023 01:56:49 for gem5 by doxygen 1.8.17