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

Rework kernel.rs #91

Merged
merged 4 commits into from
May 31, 2022
Merged

Rework kernel.rs #91

merged 4 commits into from
May 31, 2022

Conversation

mkroening
Copy link
Member

@mkroening mkroening commented May 20, 2022

Closes #90.

  1. Parses the kernel from the ELF file without any allocations. (I will completely remove the allocator in a future PR)
  2. Parses the kernel without any use of unsafe.
  3. Heavily reduces the amount of transitive dependencies.
  4. The loader can now be built with opt-level = 0 on x86. (I will perform this change in a future PR)

@mkroening mkroening force-pushed the kernel-rework branch 6 times, most recently from 21cf6f4 to ec2d103 Compare May 28, 2022 14:58
@mkroening mkroening changed the title [DRAFT] Rework kernel.rs Rework kernel.rs May 28, 2022
@mkroening mkroening marked this pull request as ready for review May 28, 2022 15:01
@mkroening mkroening requested a review from stlankes May 30, 2022 12:18
Copy link
Member Author

@mkroening mkroening left a comment

Choose a reason for hiding this comment

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

I'll add some more API docs.

@mkroening
Copy link
Member Author

bors r+

@bors bors bot merged commit de8486b into hermit-os:master May 31, 2022
@mkroening mkroening deleted the kernel-rework branch May 31, 2022 15:46
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.

Goblin: Don't depend on "elf32", "endian_fd" features
1 participant