[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] pgm_read_byte_far & Interrupts
From: |
Dmitry K. |
Subject: |
Re: [avr-libc-dev] pgm_read_byte_far & Interrupts |
Date: |
Thu, 3 Apr 2008 08:50:03 +1100 |
User-agent: |
KMail/1.5 |
On Wednesday 02 April 2008 05:53, Anatoly Sokolov wrote:
> avr-gcc starting with 4.3 save/restore RAMPZ register in interrupt
> handler routines if Z register is used in them. Now pgm_read_*_far
> functions is reentrant.
What about to do save/restore RAMPZ in other
active GCC branches: 4.1, 4.2 ?
As interrupt source routines are not present
in libgcc, there is no necessity to open new
architectures.
The intention is mainly to workaround the feature
(IMHO, bug) of 128Kb core: increment RAMPZ with
SRAM operations.
Regards,
Dmitry.