You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The current RTEMS BSP predefines the RAM disks by way of the rtems_ramdisk_configuration which is set at compile time. However the OSAL model is to create these block devices at runtime based on memory segments that are allocated externally.
The workaround up to this point was to preallocate the ram disks, and then attempt to correlate the address in the OS_mkfs/initfs request to one of the preallocated blocks. However this is not possible when the compile-time config and ramdisk allocation are done by separate libraries (BSP and CFE PSP, respectively).
Describe the solution you'd like
RTEMS can support dynamically-created RAM disks using ramdisk_allocate() which better aligns with the way things are supposed to work.
Additional context
This is necessary as part of decoupling the volume/filesystem table from the OSAL BSP.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
Rather than relying on the BSP to preallocate, the ram disk
block devices can be created based on request. This correlates
with the way RAM disks are implemented on VxWorks and is
cleaner and more flexible by making it more independent
of the BSP.
Is your feature request related to a problem? Please describe.
The current RTEMS BSP predefines the RAM disks by way of the
rtems_ramdisk_configuration
which is set at compile time. However the OSAL model is to create these block devices at runtime based on memory segments that are allocated externally.The workaround up to this point was to preallocate the ram disks, and then attempt to correlate the address in the OS_mkfs/initfs request to one of the preallocated blocks. However this is not possible when the compile-time config and ramdisk allocation are done by separate libraries (BSP and CFE PSP, respectively).
Describe the solution you'd like
RTEMS can support dynamically-created RAM disks using
ramdisk_allocate()
which better aligns with the way things are supposed to work.Additional context
This is necessary as part of decoupling the volume/filesystem table from the OSAL BSP.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: