summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-07-14 15:06:02 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-07-15 10:46:02 +0200
commit1bf878f7ff6013fe4a0172f0493fcc47b9e26189 (patch)
tree47000ebb076e472a5097efa3f0b20dae4ac6e140 /cpukit/include/rtems/score
parentscore: Place object controls into .noinit sections (diff)
downloadrtems-1bf878f7ff6013fe4a0172f0493fcc47b9e26189.tar.bz2
score: Extend memory dirty/zero actions
Dirty or zero also the part of the .noinit section used by RTEMS. Close #4678.
Diffstat (limited to 'cpukit/include/rtems/score')
-rw-r--r--cpukit/include/rtems/score/memory.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/memory.h b/cpukit/include/rtems/score/memory.h
index 5761402711..fa17ea164c 100644
--- a/cpukit/include/rtems/score/memory.h
+++ b/cpukit/include/rtems/score/memory.h
@@ -10,7 +10,7 @@
/*
* SPDX-License-Identifier: BSD-2-Clause
*
- * Copyright (C) 2019 embedded brains GmbH
+ * Copyright (C) 2019, 2022 embedded brains GmbH
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -352,6 +352,18 @@ void _Memory_Zero_free_areas( void );
*/
void _Memory_Dirty_free_areas( void );
+/**
+ * @brief This symbol marks the begin of the non-initialized section used by
+ * RTEMS.
+ */
+extern char _Memory_Noinit_begin[];
+
+/**
+ * @brief This symbol marks the end of the non-initialized section used by
+ * RTEMS.
+ */
+extern char _Memory_Noinit_end[];
+
/** @} */
#ifdef __cplusplus