On 19/07/2022 18:58, Kinsey Moore wrote:
+ if ( begin >= max_mappable || end > max_mappable ) { + rtems_fatal_error_occurred( RTEMS_INVALID_ADDRESS ); + }
Such a fatal error is not really helpful, since you cannot get the error location from the fatal source/code pair. I would add a new code for bsp_fatal() and use this function. Alternatively, we could add a new fatal error source which uses the link register or the source code file/line for generic fatal errors.
-- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/ _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel