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

Re: [MiNT] gcc 4.2.2 compile error



Le Mon, 07 Jan 2008 18:06:37 +0100
Vincent Rivière <vincent.riviere@freesbee.fr> a écrit:

> However it would be nice if FreeMiNT could do some stack checking...
> For  example, on task switching, or on system calls, it could check
> that the  stack pointer is greater than the end of the data segment.

Or make the kernel to have a proper virtual adress space for each
process, and put the stack at the end of it :). And when there is a bus
error on stack, add more memory pages below it.

-- 
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Spécialité: Développement, jeux