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

[patch-axel-52] #166

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

[patch-axel-52] #166

wants to merge 15 commits into from

Commits on Jul 1, 2024

  1. remove return code of handlers

    The return codes are not checked anywhere, so they serve no practical
    purpose. Remove them to avoid giving false hopes that any caller will
    eventually care or even handle errors.
    
    Signed-off-by: Axel Heider <[email protected]>
    Axel Heider committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    82dd3cf View commit details
    Browse the repository at this point in the history
  2. add explicit statements for unreachable code

    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    d70d756 View commit details
    Browse the repository at this point in the history
  3. cleanup handleUnknownSyscall()

    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    6f504e6 View commit details
    Browse the repository at this point in the history
  4. cleanup syscall.c: add empty line

    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    0934ff9 View commit details
    Browse the repository at this point in the history
  5. cleanup syscall.c: move variable declaration

    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    4e5dd19 View commit details
    Browse the repository at this point in the history
  6. cleanup syscall.c: improve error messages

    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    68a48db View commit details
    Browse the repository at this point in the history
  7. cleanup syscall.c: add helper variable

    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    412fa22 View commit details
    Browse the repository at this point in the history
  8. helper function checkPreemption()

    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    33e5eaa View commit details
    Browse the repository at this point in the history
  9. cleanup syscall.c: more code cleanup

    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    3fe6625 View commit details
    Browse the repository at this point in the history
  10. move pragma to top of file

    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    1ac4f6f View commit details
    Browse the repository at this point in the history
  11. add seL4_DebugNameThreadFmt()

    This is a convenient way to create thread names dynamically.
    Also change seL4_DebugNameThread() to use strncpy() instead of
    strcpy() to honor the IPC buffer size.
    
    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    95cd93c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f254c4d View commit details
    Browse the repository at this point in the history
  13. boot/smp: use memory order aware builtin functions

    In C++11 memory order aware access functions were introduced, these
    are available in C also. Use them to allow the compiler choosing
    proper barriers automatically.
    
    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    a147130 View commit details
    Browse the repository at this point in the history
  14. boot/smp: use local mask to detect core start

    Use a local mask variable concurrently to detect secondary core start
    instead of incrementing ksNumCPUs. This give the compiler full control
    over the concurrent accesses, ksNumCPUs is just set at the end when all
    cores are up.
    
    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    3e219e1 View commit details
    Browse the repository at this point in the history
  15. make IPI barrier a real function

    Signed-off-by: Axel Heider <[email protected]>
    axel-h committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    0c8e037 View commit details
    Browse the repository at this point in the history