mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-16 19:04:53 +08:00
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.