diff options
| author | Huang Ying <ying.huang@intel.com> | 2013-04-02 11:01:40 +0200 |
|---|---|---|
| committer | Jan Beulich <jbeulich@suse.com> | 2013-04-02 11:01:40 +0200 |
| commit | f51b14d1f25c96fba290882f0a80fc7baf0fe28e (patch) | |
| tree | c57ad886c82b0b6f69564d046ece42e0b415279e /tools/lib/sys_string.h | |
| parent | d82be94efbf8e2721f5957fe459fc296198ffc80 (diff) | |
| download | xen-f51b14d1f25c96fba290882f0a80fc7baf0fe28e.tar.gz xen-f51b14d1f25c96fba290882f0a80fc7baf0fe28e.tar.bz2 xen-f51b14d1f25c96fba290882f0a80fc7baf0fe28e.zip | |
ACPI, APEI: Add apei_exec_run_optional
Some actions in APEI ERST and EINJ tables are optional, for example,
ACPI_EINJ_BEGIN_OPERATION action is used to do some preparation for
error injection, and firmware may choose to do nothing here. While
some other actions are mandatory, for example, firmware must provide
ACPI_EINJ_GET_ERROR_TYPE implementation.
Original implementation treats all actions as optional (that is, can
have no instructions), that may cause issue if firmware does not
provide some mandatory actions. To fix this, this patch adds
apei_exec_run_optional, which should be used for optional actions.
The original apei_exec_run should be used for mandatory actions.
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
master changeset: 72af01bf6f7489e54ad59270222a29d3e8c501d1
master date: 2013-03-22 12:46:25 +0100
Diffstat (limited to 'tools/lib/sys_string.h')
0 files changed, 0 insertions, 0 deletions
