> In cpu_exec() env is a local variable. In do_interrupt() it is the global > variable (held in a specific register via "asm(AREG0)"). The two aren't > necessarily the same value, hence the fiddling about.
Do you mean we sync env with envl at this point? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj