Files
rtems/bsps/shared/acpi
Yang Zhang 9ecb715ab5 bsps/shared/acpi: Use vprintk for AcpiOsPrintf
AcpiOsPrintf() and AcpiOsVprintf() used vprintf(), which relies on
standard I/O and newlib reentrancy structures.

When acpi_tables_initialize() is called from bsp_start(), the system
has not completed initialization and no thread is executing yet.
Calling vprintf() at this stage attempts to read libc_reent via a null
pointer, which on x86_64 targets causes a triple fault crash during boot.

Use vprintk() from <rtems/bspIo.h> instead of vprintf() to route ACPICA
OSL output through the early polled kernel character device.

Fixes #5751.
2026-09-16 14:00:59 +00:00
..