On Thursday, June 24, 1999 10:44 AM, Eric J. Korpela [SMTP:[EMAIL PROTECTED]]
wrote:
:
: > We also need a stack, and maybe some heap space:-
: > Where does this go and how is it allocated?
:
: Is there process stack overflow checking in ELKS? I'm pretty sure
: I saw checking of the kernel stack...
:
: Eric
There's a couple ways that this can be performed, at the cost
of speed. One is to emit a call __chkstack just after the procedure entry
prologue, that compares sp with the current max heap libc value. Bcc doesn't currently
emit this. Another way is to compare it when calling the kernel, but that doesn't
buy much, and the process heap is probably long screwed by the time the kernel
finds out about it.
greg
- ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- Re: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- Re: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
- RE: ELKS: Application Code, Data, Heap and Stack Size?? Anonymous
