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

bindings, types, and constants for some mach vm apis #4357

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

Commits on Oct 5, 2024

  1. Configuration menu
    Copy the full SHA
    2181a42 View commit details
    Browse the repository at this point in the history
  2. some mach types

    beaumccartney committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    3c2efb2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7eabb1d View commit details
    Browse the repository at this point in the history
  4. add VM_FLAGS constants

    beaumccartney committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    04ddcc5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    27daebf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a205bcd View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. add mach procedures and vm_page_size

    - vm_allocate()
    - vm_deallocate()
    - vm_map()
    - mach_make_memory_entry()
    beaumccartney committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    80c390e View commit details
    Browse the repository at this point in the history
  2. group type definitions

    beaumccartney committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    ac4f4e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c0c128 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2fc04f2 View commit details
    Browse the repository at this point in the history
  5. remove note comments

    beaumccartney committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    609eb00 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    75c5cf3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    15d7039 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    eaafe92 View commit details
    Browse the repository at this point in the history
  9. small cleanup

    beaumccartney committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    f858374 View commit details
    Browse the repository at this point in the history
  10. make aliases of vm types not distinct

    I think they're meant to be used interchangeably, just typedefed to have more
    clear names for certain contexts
    beaumccartney committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    7b1086b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    db89509 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. make some types and procs match the c apis

    procs:
    | type          | old  | new (matching c api)|
    | ---           | ---- | ------------------- |
    | kern_return_t | u64  | c.int               |
    | thread_t      | u64  | mach_port_t         |
    | task_t        | u64  | mach_port_t         |
    | semaphore_t   | u64  | mach_port_t         |
    
    for mach_task_self(), return mach_port_t instead of task_t
    
    for semaphore_signal_thread(), accept a thread_t instead of a thread_act_t
    beaumccartney committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    67252ff View commit details
    Browse the repository at this point in the history
  2. kern return as an enum

    beaumccartney committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    2695b26 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9004441 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    27753ff View commit details
    Browse the repository at this point in the history
  5. use b32 for boolean_t

    beaumccartney committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    58745bc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fee99c0 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. vm_flags as a bitset

    beaumccartney committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    41c717d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0ff41e View commit details
    Browse the repository at this point in the history