[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Fault addres from sigcontext



And remember that the page size is 8192 bytes for CRIS.

//Peter

> -----Original Message-----
> From: owner-dev-etrax@xxxxxxx.com 
> [mailto:owner-dev-etrax@xxxxxxx.com] On Behalf Of Mikael Starvik
> Sent: 07 October 2004 12:42
> To: Simon Posnjak; dev-etrax
> Subject: RE: Fault addres from sigcontext
> 
> The stack grows automatically one page at a time. The maximum
> stack/head is much more than the available amount of memory in
> the system. The maximum stack size is something like 0x60000000
> (or some other terrible large number). 
> 
> /Mikael
> 
> -----Original Message-----
> From: owner-dev-etrax@xxxxxxx.com">mailto:owner-dev-etrax@xxxxxxx.com] On
> Behalf Of Simon Posnjak
> Sent: Thursday, October 07, 2004 12:30 PM
> To: dev-etrax
> Subject: RE: Fault addres from sigcontext
> 
> V sre, 06.10.2004 ob 14:27 je Mikael Starvik napisal(a):
> > The stack ends at 0x9fffffff. Before starting the program the
> > kernel pushes argc, argv, envp and all entries in argv and envp
> > on the stack. So the actual stack pointer when enterring an
> > application varies. So the value 0x9ffffee0 seams reasonable.
> 
> Thank you. 
> 
> One more question: What would be the default stack size? I mean: Is
> there any limit for the maximum stack (heap) size?
> 
>                         Regards Simon