Yang Zhang created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1483
Project:Branches: Chloe/rtems:fix-acpi-early-print to rtems/rtos/rtems:main Author: Yang Zhang ## Summary 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. ## Generative AI <!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/--> <!-- Default settings, if it is a dropdown it will set after submission --> -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1483 You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/namespace/49/sent_notifications/5-c3zkn4g6ea7rprs8zh45riiab-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
