Skip to content

Use traits for register and uart #39

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Conversation

ChocolateLoverRaj
Copy link

@ChocolateLoverRaj ChocolateLoverRaj commented Feb 25, 2025

Closes #38

Contain breaking changes

Advantages:

  • Reduces the amount of code
  • Lets people using this library use a uart with dyn Uart16550
  • It will be very easy to add another method in addition to port and mmio

Tested the port with qemu and tested the mmio on a real computer.

Contain breaking changes

Advantages:
- Reduces the amount of code
- Lets people using this library use a uart with `dyn Uart16550`
- It will be very easy to add another method in addition to port and mmio
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Put common code for the port and MMIO in a trait
1 participant