Fix yield() so it works from boot code.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 20 Dec 2009 18:11:17 +0000 (13:11 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 20 Dec 2009 18:11:17 +0000 (13:11 -0500)
commitfb214dc70aaeb7b4bbaf270bb9566843a0606933
tree8b80f069fbc3da4ba37cdb3aa02b831c5bb883af
parent2ceeec9d56ffc93b12cbd01b7e303251b1c0361a
Fix yield() so it works from boot code.

In boot code, the f-segment is read-only, so make sure yield() doesn't
    rely on writes.
Easiest way to do this is to avoid stack switches when not needed.
src/stacks.c