-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #367, 453, 456, 460, Deprecate OS_VolumeTable and other fixes #461
Fix #367, 453, 456, 460, Deprecate OS_VolumeTable and other fixes #461
Conversation
Remove the OS_VolumeTable definition from all BSPs, but provide a default (empty) one to support linking when OMIT_DEPRECATED is not set.
Do not assume BSP volume table provides a "/cf" directory map. Instead, create a UT-specific map of a consistent name, and use that.
acdf156
to
91b3921
Compare
91b3921
to
aade493
Compare
Add a distinct type for FS_BASED entries, and an UNKNOWN value for when a type is actually not yet identified. This can be used to identify the FS type first at the shared layer, then in the implementation layer as a fallback option if not identifiable in the shared layer. Use the volume name prefix "RAM" as a hint that the volume is supposed to be a VOLATILE disk as opposed to a normal disk. This is done in shared layer so it applies to all OS types.
Confirm that the "selectable" flag is set before calling the underlying select() API. Also update unit tests to match.
aade493
to
312b7cc
Compare
CCB 20200520 - APPROVED |
@acudmore did you take a look at this? |
Note - Lack of this PR is causing the current IC to fail as it is correlated with nasa/PSP#163. We either need to merge this or, if this cannot be merged in this cycle, we need to revert the PSP change. |
I merged the psp one in anticipation that @acudmore would review this one soonish. I think he's working on it today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve. Getting rid of the volume table is another improvement.
Fix nasa#315, ES Performance debug messages
Describe the contribution
Deprecate the OS_VolumeTable structure, which is no longer necessary with the current OSAL.
Remove the OS_VolumeTable definition from all BSPs, and provide a default (empty) one to support linking when OMIT_DEPRECATED is not set.
Note Due to unit test dependencies this PR also has to include fixes for other related issues.
Fix #367
Fix #453
Fix #456
Fix #460
These are all in separate commits and they each build individually but there are some dependencies in making the unit tests work, so they were added to this PR.
Testing performed
Build with unit tests, confirm unit test execution and sanity check CFE on supported platforms
Expected behavior changes
OSAL no longer defines the types or symbols associated with OS_VolumeTable when OMIT_DEPRECATED is set. Any external PSPs should replace their respective OS_VolumeTable with calls to the runtime registration API.
System(s) tested on
Ubuntu 20.04 (native)
RTEMS 4.11 on i686 via QEMU
Vxworks 6.9 on MCP750
Additional context
nasa/PSP#161 exists to remove these references from the CFE PSP
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.