This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: newlib on x86-64
At Thu, 5 Feb 2009 11:05:20 +0100,
Hans Kester wrote:
> We use a different approach in our own OS. You can let the hardware
> switch to an interrupt stack. In that way the red zones will remain
> the same. You can read chapter 5.14 of this Intel 'Bible':
> http://download.intel.com/design/processor/manuals/253668.pdf.
Yes, I had considered that approach but I think it makes handling nest
interrupts harder. Do have a good solution for managing stacks? Or
do you just run with interrupts disabled while on the interrupt stack
and reenable them when you execute iret?
Neal