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

回信: [openrisc] saving/restoring context at exceptions





Right!!! I think CARRY should also be saved.
I suggest SUPV/FLAG/CARRY should be saved.
And in OR16, the EPCR is valid at the range of [31:1]...
only bit 0 could be reused....it's a problem.....
If we can't have full space to save the three flags,
I think each ESR(exception service routine) must save
it to the stack.
Or, we have to define another registers
to let context switch faster...
Best regards, Jimmy