Searched refs:stack_size (Results 1 - 15 of 15) sorted by relevance

/gem5/src/base/
H A Dfiber.cc86 Fiber::Fiber(size_t stack_size) : Fiber(primaryFiber(), stack_size) argument
89 Fiber::Fiber(Fiber *link, size_t stack_size) : argument
90 link(link), stack(nullptr), stackSize(stack_size), guardPage(nullptr),
93 if (stack_size) {
94 guardPage = mmap(nullptr, guardPageSize + stack_size,
99 fatal("Could not mmap %d byte fiber stack.\n", stack_size);
109 stack, (uint8_t *)stack + stack_size);
H A Dfiber.hh69 /// stack_size is the size of the stack available to this fiber.
72 Fiber(size_t stack_size=DefaultStackSize);
73 Fiber(Fiber *link, size_t stack_size=DefaultStackSize);
/gem5/src/arch/arm/
H A DArmSemihosting.py59 stack_size = Param.MemorySize("32MB", "Application stack size"); variable in class:ArmSemihosting
H A Dsemihosting.cc137 stackSize(p->stack_size),
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_cor_qt.cpp126 stack_align( void* sp, int alignment, std::size_t* stack_size )
129 *stack_size = (*stack_size + round_up_mask) & ~round_up_mask;
171 sc_cor_pkg_qt::create( std::size_t stack_size, sc_cor_fn* fn, void* arg ) argument
175 cor->m_stack_size = stack_size;
H A Dsc_cor.h99 std::size_t stack_size, sc_cor_fn* fn, void* arg ) = 0;
H A Dsc_cor_pthread.h107 virtual sc_cor* create( std::size_t stack_size, sc_cor_fn* fn, void* arg );
H A Dsc_cor_fiber.cpp133 sc_cor_pkg_fiber::create( std::size_t stack_size, sc_cor_fn* fn, void* arg ) argument
137 cor->m_stack_size = stack_size;
H A Dsc_spawn_options.h80 void set_stack_size(int stack_size) { m_stack_size = stack_size; } argument
H A Dsc_cor_pthread.cpp173 sc_cor_pkg_pthread::create( std::size_t stack_size, sc_cor_fn* fn, void* arg ) argument
194 if ( stack_size != 0 )
196 pthread_attr_setstacksize( &attr, stack_size );
H A Dsc_cor_fiber.h115 virtual sc_cor* create( std::size_t stack_size, sc_cor_fn* fn, void* arg );
H A Dsc_cor_qt.h101 virtual sc_cor* create( std::size_t stack_size, sc_cor_fn* fn, void* arg );
/gem5/src/sim/
H A Dmem_state.hh86 void setStackSize(Addr stack_size) { _stackSize = stack_size; } argument
/gem5/src/arch/x86/
H A Dprocess.cc961 unsigned stack_size = stack_base - stack_min; local
962 stack_size = roundUp(stack_size, pageSize);
963 memState->setStackSize(stack_size);
966 Addr stack_end = roundDown(stack_base - stack_size, pageSize);
968 DPRINTF(Stack, "Mapping the stack: 0x%x %dB\n", stack_end, stack_size);
969 allocateMem(stack_end, stack_size);
/gem5/ext/googletest/googletest/src/
H A Dgtest-death-test.cc1073 const size_t stack_size = getpagesize(); local
1075 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE,
1083 // than 64. We assume stack and stack_size already have alignment of
1088 (stack_grows_down ? stack_size - kMaxStackAlignment : 0);
1089 GTEST_DEATH_TEST_CHECK_(stack_size > kMaxStackAlignment &&
1094 GTEST_DEATH_TEST_CHECK_(munmap(stack, stack_size) != -1);

Completed in 33 milliseconds