Project

General

Profile

Actions

Bug #1922

closed

t_pcb of panic thread should be preserved on a panic

Added by John Sonnenschein over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
cmd - userland programs
Start date:
2011-12-22
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Currently, the t_pcb of the panicking thread is plowed by the setjmp() in panicsys that saves the registers at the time of the panic. This destroys a potentially critical piece of state – namely, the register state the last time the thread blocked. The t_pcb should be preserved and set to a new panic variable: panic_pcb.

Actions

Also available in: Atom PDF