diff options
author | Michael Brown | 2018-03-18 13:54:57 +0100 |
---|---|---|
committer | Michael Brown | 2018-03-18 13:59:34 +0100 |
commit | 89e31f8491895e6196d4ba56aee3809261aa6b89 (patch) | |
tree | f7104a5cdd168eedc241618211457f5104548e06 /src/drivers/bus | |
parent | [intel] Add PCI_ROM entry for Intel i354 NIC (diff) | |
download | ipxe-89e31f8491895e6196d4ba56aee3809261aa6b89.tar.gz ipxe-89e31f8491895e6196d4ba56aee3809261aa6b89.tar.xz ipxe-89e31f8491895e6196d4ba56aee3809261aa6b89.zip |
[librm] Add facility to provide register and stack dump for CPU exceptions
When DEBUG=librm_mgmt is enabled, intercept CPU exceptions and provide
a register and stack dump, then drop to an emergency shell. Exiting
from the shell will almost certainly not work, but this provides an
opportunity to view the register and stack dump and carry out some
basic debugging.
Note that we can intercept only the first 8 CPU exceptions, since a
PXE ROM is not permitted to rebase the PIC.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/bus')
0 files changed, 0 insertions, 0 deletions