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

core, sys, drivers: 64-bit support preparations #20257

Merged
merged 3 commits into from
Jan 17, 2024

Commits on Jan 15, 2024

  1. core: 64 bit compatibility

    Only minor changes are required to make the kernel 64 bit compatible.
    Most of the changes are either DEBUG/printf formatting or different types for void pointer casting.
    
    The only other change is the type of the `data` member in priority_queue_node_t, as `data` must be able to store a pointer.
    For current architectures, the assumption `sizeof(unsigned int) == sizeof(void *)` holds, but not for 64 bit.
    Therefore, the type is changed to `uintptr_t', which has the same size for the current architectures, but can also store a pointer in 64 bits.
    fzi-haxel committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    cb83a2e View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. sys: 64 bit compatibility

    * priority_queue_t: Replaced `-1U` literal with PRIORITY_QUEUE_DATA_SIGNALING define
    * architecture.h: Added 64-bit
    * bloom.h: Fixed typedef for the hashfp_t function pointer
    * vfs.h: Increased default vfs buffer sizes for 64 bit
    * bytes.h: Check if socklen_t is already defined
    * ztimer: Use PRIxPTR format specifier
    fzi-haxel committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    394cd0e View commit details
    Browse the repository at this point in the history
  2. drivers: 64 bit compatibility

    Fixed compilation errors for pointer casting.
    fzi-haxel committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    3feb1a3 View commit details
    Browse the repository at this point in the history