sapi: Make Configuration read-only

The Configuration is now read-only and must be statically initialized
via confdefs.h or similar.
This commit is contained in:
Sebastian Huber
2012-11-07 15:08:46 +01:00
parent ed8be1aeea
commit ae4f125e86
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2316,7 +2316,7 @@ rtems_fs_init_functions_t rtems_fs_init_helper =
/**
* This is the primary Configuration Table for this application.
*/
rtems_configuration_table Configuration = {
const rtems_configuration_table Configuration = {
CONFIGURE_EXECUTIVE_RAM_SIZE, /* required RTEMS workspace */
CONFIGURE_STACK_SPACE_SIZE, /* required stack space */
CONFIGURE_MAXIMUM_USER_EXTENSIONS, /* maximum dynamic extensions */
+1 -1
View File
@@ -222,7 +222,7 @@ typedef struct {
/**
* This is the configuration table generated by confdefs.h.
*/
extern rtems_configuration_table Configuration;
extern const rtems_configuration_table Configuration;
#if defined(RTEMS_MULTIPROCESSING)
/**