newlib on x86-64

Neal H. Walfield neal@walfield.org
Thu Feb 5 14:21:00 GMT 2009


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



More information about the Newlib mailing list