Hello,
On 03/12/2020 01:53, Utkarsh Rai wrote:
+rtems_status_code _Memory_protection_Disable( void )
+{
+ uint32_t access_flags;
+
+ access_flags = translate_flags( RTEMS_READ_WRITE );
+
+ _Thread_Iterate( set_memory_flags, &access_flags );
+
+ return RTEMS_SUCCESSFUL;
}
using _Thread_Iterate() for this is quite bad in terms of performance
and it may also lead to unpredictable behaviour.
--
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