[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Single page stack suggestion
From: |
Dmitry K. |
Subject: |
Re: [avr-libc-dev] Single page stack suggestion |
Date: |
Sun, 15 Jul 2007 17:01:12 +1100 |
User-agent: |
KMail/1.5 |
In addition to second:
> An alternative change (more suited to bigger AVRs) could be made if it
> is safe to assume that the stack is given a whole number of pages, plus
> some extra for interrupt stack space.
Very interesting idea!
Unfortunately, this trick cannot be used without updating the
compiler: though the option '-mno-interrupts' allows to get rid
of manipulations with the SREG, but the sequence of writing SPH/SPL
in an epilogue does not suit.
Dmitry.