Skip to content

Conversation

nicholasbishop
Copy link
Member

To help ease the API transition, make FileSystem::new accept either variant of ScopedProtocol.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

To help ease the API transition, make `FileSystem::new` accept either variant of
ScopedProtocol.
- `allocator::init` and `allocator::exit_boot_services` have been
deprecated. These functions are now no-ops. The allocator now internally uses
the global system table.
- `FileSystem::new` now accepts `boot::ScopedProtocol` in addition to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this Breaking?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this should not break compilation because it accepts either one. There should not be any code that used to work that is now rejected.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah right, you adapted the constructor.

@phip1611 phip1611 added this pull request to the merge queue Aug 25, 2024
Merged via the queue into rust-osdev:main with commit a5d83c0 Aug 25, 2024
@nicholasbishop nicholasbishop deleted the bishop-fs-generic branch August 25, 2024 16:42
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.

2 participants