Date: Wed, 13 Sep 95 08:44 MDT From: mat AT ardi DOT com (Mat Hostetter) To: Cuthalion / Sliced Bread Cc: Paul , djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: interrupt stops being invoked References: >>>>> "Sliced" == Sliced Bread writes: Sliced> You can _DO_ That? (Successfully, I mean?) Wow! I Sliced> would have expected the compiler to outsmart me somehow Sliced> and put things in a different order or something. gcc seems to generate non-static functions in order. If this hack makes you nervous (and it should), you can always throw in some asserts that verify that the functions to be locked are between the interrupt_start and interrupt_end addresses. NOTE: this hack will NOT work for variables inserted between the start and end addresses; you need to lock those separately. Of course, that's easy since you have their address and size. -Mat