Skip to content
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

Integration Candidate 20191230 #334

Merged
merged 15 commits into from
Jan 8, 2020
Merged

Integration Candidate 20191230 #334

merged 15 commits into from
Jan 8, 2020

Commits on Dec 13, 2019

  1. Fix #297: Refactor OSAL C library stubs

    Rather than utilizing a separate "stub-map-to-real.h" file that would
    need to be injected into the build of the unit under test, this builds
    the mappings into the mapping into the override files themselves.
    
    The stub functions are then moved into a separate header under a
    unique name with an OCS_ prefix.
    
    This introduces a number of new files, as what previously required
    a single header now requires two, but it it eliminates the separate
    map file.
    jphickey committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    a2a97b7 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2019

  1. Fix #295: Add alignment wrapper to OS_SockAddr_t

    Add a union wrapper for the abstract data field such that it will
    be aligned for 32 bit integer values and/or pointers, whichever is
    greater.
    
    This should be sufficient for casting to the system "struct sockaddr"
    jphickey authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    25b9efd View commit details
    Browse the repository at this point in the history
  2. Fix #298: Fix minor warnings in OSAL code

    Fix warnings that are triggered by compiling the OSAL coverage
    unit test with strict settings.
    
    - The OS_FPUExcAttachHandler function needs to be prototyped
      as accepting a function pointer (not void*)
    - Const-Correctness on OS_ModuleLoad_Impl()
    - Use void* instead of char* for buffer pointer as the specific
      type is not known
    - Cast the function passed into taskSpawn on VxWorks
    jphickey authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    1cc97c3 View commit details
    Browse the repository at this point in the history
  3. Fix #298: Clean up warnings in UT code with strict settings

    Additional compiler warning fixes for the UT code itself.
    This is committed separately from the changes that affect
    the OSAL FSW code.
    jphickey authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    31cc6ae View commit details
    Browse the repository at this point in the history
  4. issue #305, Resolve cppcheck warning ut_stubs

    anh authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    40c574f View commit details
    Browse the repository at this point in the history
  5. issue #308, Resolve cpp warning in os dir.

    anh authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    ca742b0 View commit details
    Browse the repository at this point in the history
  6. issue #307, Remove unsupported BSPs

    anh authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    8c4355b View commit details
    Browse the repository at this point in the history
  7. issue #314, adding travis.yml for cppcheck

    anh authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    a3bf878 View commit details
    Browse the repository at this point in the history
  8. Fix #316: Exception/Interrupt API updates

    - Ensure the FPU functions that are actually not implemented in
      RTEMS/POSIX all return OS_ERR_NOT_IMPLEMENTED, not OS_SUCCESS.
    - The RTEMS IntEnable/Disable API should not be a duplicate of
      the IntLock/Unlock API, as the semantics are slightly different.
      The Enable/Disable API should return OS_ERR_NOT_IMPLEMENTED.
    - The OS_FPUExcGetMask API should confirm that the output buffer
      is not NULL.
    jphickey authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    3c30fd0 View commit details
    Browse the repository at this point in the history
  9. Fix #313: Use UT assert for OSAL unit tests

    Modify the "unit-tests" (extended/functional tests) for OSAL to use
    the UT assert library for test case reporting and platform support.
    
    Reduce or eliminate the use of macros for platform abstraction
    wherever possible.  This removes most platform-specific logic from
    the test cases, leaving that to the OSAL/BSP abstraction.
    jphickey authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    b1bf346 View commit details
    Browse the repository at this point in the history
  10. Fix #321: Update OS_VxWorks_SigWait test case

    This is related to the change for #271, where the return value
    of this function depends on the configured timer interval.  The
    coverage test case for this was not updated in the original change.
    jphickey authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    cb259b9 View commit details
    Browse the repository at this point in the history
  11. Fix #323: Avoid infinite sem-speed-test

    1. Add a hard limit to the execution (work) counter for the
    sem-speed-test worker threads.  With this they will self-exit
    eventually even if the root task never gets CPU time to stop them.
    
    2. Set the priority of the worker tasks to be logically lower, so
    it is less likely to preempt the main task.
    
    Note that the logical priority is inverted from the numeric value.
    jphickey authored and skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    e8a1db7 View commit details
    Browse the repository at this point in the history
  12. CCB 20191218: Merge #296 #299 #306 #310 #311 #315 #317 #318 #322 #324

    Fix #295, #298, #305, #307, #308,
        #313, #314, #316, #321, #323
    Reviewed and approved at 2019-12-18 CCB
    skliper committed Dec 30, 2019
    Configuration menu
    Copy the full SHA
    9e3027f View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2019

  1. Update #297: Add copyright header

    Adds a NOSA copyright header to all files touched
    as part of the fix for #297.
    jphickey committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    49e2bf2 View commit details
    Browse the repository at this point in the history
  2. CCB 20191218: Merge #319

    Fix #297
    Reviewed and approved at 2019-12-18 CCB
    skliper committed Dec 31, 2019
    Configuration menu
    Copy the full SHA
    623a5af View commit details
    Browse the repository at this point in the history