diff options
author | kolya <kolya> | 2008-10-15 05:01:39 +0000 |
---|---|---|
committer | kolya <kolya> | 2008-10-15 05:01:39 +0000 |
commit | 228e500a0c2b5a26492c84f73951a46c58c86509 (patch) | |
tree | 5be5a0fd9c9ad4b60d471e3fb5ff3d187512dc9f /defs.h | |
parent | 15ce79de141f66c7dd2f2948ce4584a2d31f7040 (diff) | |
download | xv6-labs-228e500a0c2b5a26492c84f73951a46c58c86509.tar.gz xv6-labs-228e500a0c2b5a26492c84f73951a46c58c86509.tar.bz2 xv6-labs-228e500a0c2b5a26492c84f73951a46c58c86509.zip |
save cpus.intena in sched(), so we get the right EFLAGS.IF value once a
timer-preempted kernel thread resumes execution in trap() after yield().
otherwise the kernel could get an arbitrary number of nested timer intrs.
Diffstat (limited to 'defs.h')
0 files changed, 0 insertions, 0 deletions