On 9 July 2015 at 20:38, Bin Meng <[email protected]> wrote:
> Some exceptions cause an error code to be saved on the current stack
> after the EIP value. We should extract CS/EIP/EFLAGS from different
> position on the stack based on the exception number.
>
> Signed-off-by: Bin Meng <[email protected]>
>
> ---
>
> Changes in v2:
> - Use enum for x86 exception numbers
>
>  arch/x86/cpu/interrupts.c        | 29 ++++++++++++++++++++++++++++-
>  arch/x86/include/asm/interrupt.h | 24 ++++++++++++++++++++++++
>  arch/x86/include/asm/ptrace.h    | 16 +++++++++++++---
>  3 files changed, 65 insertions(+), 4 deletions(-)

Acked-by: Simon Glass <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to