# SDEI学习笔记
## Introduction
Software Delegated Exception Interface (SDEI) is an Arm specification for Non-secure
world to register handlers with firmware to receive notifications about system events.
SDEI是ARM做的一种system events的通知方式。Firmware收到system events后,使用SDEI通知Non-secure world,
并执行注册好的handler。
经典应用场景
System Error handling (RAS)
Software Watchdog timer
Kernel Debugging
Sample Profiling
详细介绍,请参考ARM的以下文档。
https://github.com/ARM-software/arm-trusted-firmware/blob/master/docs/sdei.rst
http://infocenter.arm.com/help/topic/com.arm.doc.den0054a/ARM_DEN0054A_Software_Delegated_Exception_Interface.pdf
## APEI对SDEI的支持
ACPI-v6.2开始增加对SDEI的支持,作为一种Hardware Error Notification方式。
这样,APEI表就包含以下11中Notification类型:
0 – Polled
1 – External Interrupt
2 – Local Interrupt
3 – SCI
4 – NMI
5 - CMCI
6 -