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.
PSP implements dedicated APIs to retrieve the pointer/size of special memory areas such as ES reset area, CDS, RAM disk, etc.
CFE_PSP_GetUserReservedArea
CFE_PSP_GetVolatileDiskMem
CFE_PSP_GetResetArea
CFE_PSP_GetKernelTextSegmentInfo
CFE_PSP_GetCFETextSegmentInfo
CFE_PSP_GetCDSSize
Describe the solution you'd like
Currently these APIs use uint32 type for sizes. This should change to size_t.
Each memory area has a distinct/separate API. Should change to a more extensible approach, allowing more memory blocks to be allocated without creating a new API for each one (e.g. ID based, where IDs can be more easily added in the future, but functions stay the same).
Additional context
Creating a better API here can help clean up some issues in the CFE side where there is only one "reset area" that is part of ES. However both EVS and TIME core apps also store data here, and therefore this creates issues where these subsystems have to make their private data structs into public ones so they can be combined into this area. Cleaning this up would help make the CFE core apps more independent and modular.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
PSP implements dedicated APIs to retrieve the pointer/size of special memory areas such as ES reset area, CDS, RAM disk, etc.
Describe the solution you'd like
uint32
type for sizes. This should change tosize_t
.Additional context
Creating a better API here can help clean up some issues in the CFE side where there is only one "reset area" that is part of ES. However both EVS and TIME core apps also store data here, and therefore this creates issues where these subsystems have to make their private data structs into public ones so they can be combined into this area. Cleaning this up would help make the CFE core apps more independent and modular.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: