Task created by Chris Johns: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5831

Assignee: Chris Johns

## Memory Region API

Provide an API to get the start, end and size of a memory region of the base 
image. The base image is the static executable a boot loader enters. The 
regions are the various sections as defined in the BSPs `bsp/linker-symbols.h` 
header file.

The linker symbols header is defined in the BSP source tree are and this means 
there is no direct access to it from code in the `cpukit`. This API bridges 
that boundary.

The sections to be supported are:

1. `start` - start up code often used with special MMU attributes
2. `text` - executable code
3. `fast_text` - executable in an optional fast memory, eg on chip memory
4. `data` - initialized variables
5. `fast_data` - initialized variables in fast memory
6. `rodata` - constant variables
7. `noinit` - uninitialized variables, sometime call `bss` 

Provide a call to check if an address is in a section. A `text` or `data` check 
will check all text or data sections.

Provide a handler interface called when a section check is made so any 
dynamically loaded executable text or data can be checked.

If an architecture is not supported a call will generate a fatal error. Provide 
a way to add support for specific BSPs.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5831
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/6-dilb0m80ujuz6t7znrlpyp9km-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

Reply via email to