Skip to content

Conversation

bremoran
Copy link
Contributor

This PR is mostly an import from pqmx. It includes some helpers:

  1. Added a new platform.mk
  2. Added a "baremetal/platform" directory
  3. Added pqmx hal code into baremetal/platform
  4. used platform.mk to override exec wrapper
  5. changed rules.mk to use LDFLAGS for linking instead of CFLAGS
  6. Added an exec_wrapper.py that encodes the command-line arguments into a binary blob and then loads that into qemu in order to pass command-line arguments.

This commit is mostly an import from pqmx. It includes some helpers:

1. Added a new platform.mk
2. Added a "baremetal/platform" directory
3. Added hal code into baremetal/platform
4. used platform.mk to override exec wrapper
5. changed rules.mk to use LDFLAGS for linking instead of CFLAGS

Added an exec_wrapper.py that encodes the command-line arguments into a binary blob and then loads that into qemu in order to pass command-line arguments.
@bremoran bremoran requested a review from a team as a code owner September 16, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant