acpi_einj(4)

acpi_einj4

Acpi platform error injection module

Usage

#include <dev/acpica/acpiio.h>

Overview

The acpi_einj modules provides support for the error injection facility from the ACPI Platform Error Interface (APEI). This module parses the EINJ table to construct a list of instructions associated with actions. The module provides several ioctl(2) commands on the /dev/acpi character device used by the einj(8) utility.

Ioctls

The following commands are supported:

ACPIIO_EINJ_GET_INFO

Returns a struct acpi_einj_info object to the caller.

ACPIIO_EINJ_GET_VENDOR

If the host supports the SET_ERROR_TYPE_WITH_ADDRESS command that includes a vendor extension structure, this command stores a copy of the vendor extension structure in the buffer described by the caller-provided struct acpi_einj_vendor_info.

ACPIIO_EINJ_SET_ERROR

Injects a platform error described by a struct acpi_einj_error object provided by the caller.

Files

/boot/kernel/acpi_einj.ko

History

The acpi_einj module first appeared in FreeBSD 16.0.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.