[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Stack restore done by OS

Miro Kropacek <miro.kropacek@gmail.com> writes:

>> I guess because the OS does not know how many params you actually have
>> pushed.
> Well, function / service you call certainly does.

But not the trap handler, which is the only one that could pop them.
Even then it'd have to cope with exception frames, stack switching,
etc., making system calls even more expensive.


Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."