Skip to content

Rewrite the crate #1

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

Merged
merged 13 commits into from
Jul 1, 2021
Merged

Rewrite the crate #1

merged 13 commits into from
Jul 1, 2021

Conversation

48cf
Copy link
Contributor

@48cf 48cf commented Jun 28, 2021

Rewrite the crate into an easier to work with interface. I already have added the stivale2 structure and ability to retrieve tags inside of it by their ID. I also added few helper methods to retrieve a specific tag with correct type. I still need to add all the missing tags that are specified in the stivale2 specification and document the code, since as of now it's left with no comments whatsoever. There is also the stivale2 header structure and few header tags that let you specify a simple terminal output so you can verify everything is working correctly.

48cf and others added 5 commits June 28, 2021 08:28
Signed By: Anhad Singh
* Add documentation to the StivaleFramebufferTag
* Add documentation to the StivaleTerminalTag
* Return a function instead for the term_write function.

Signed By: Anhad Singh
Andy-Python-Programmer and others added 4 commits June 28, 2021 17:41
* Fix typo in v2/
* Add module documentation to v2/mod.rs
* Fix terminal tag doc test

Signed By: Anhad Singh
* Add the RSDP ACPI tag

Signed By: Anhad Singh
* Add the memory map tag and its child structures
* Add documentation to those structures

Signed By: Anhad Singh
* Add more tags
* Add them in the main stivale structure

Signed By: Anhad Singh
@Andy-Python-Programmer
Copy link
Owner

Andy-Python-Programmer commented Jul 1, 2021

Release Checklist

Stivale v2

Tags Checklist

  • Command line structure tag
  • Memory map structure tag
  • Framebuffer structure tag
  • EDID information structure tag
  • Framebuffer MTRR write-combining structure tag - legacy
  • Terminal structure tag
  • Modules structure tag
  • RSDP structure tag
  • SMBIOS structure tag
  • Epoch structure tag
  • Firmware structure tag
  • EFI system table structure tag
  • Kernel file structure tag
  • Kernel slide structure tag
  • SMP structure tag
  • PXE server info structure tag
  • MMIO32 UART tag
  • Device tree blob tag
  • High memory mapping tag

Headers Checklist

  • Framebuffer header tag
  • Framebuffer MTRR write-combining header tag - legacy
  • Terminal header tag
  • 5-level paging header tag
  • Unmap NULL header tag
  • SMP header tag

* Finish adding and documenting all of the header types for stivale2

Signed By: Anhad Singh
* Finish adding all of the stivale2 tags and I still have to add them in
the main stivale structure

Signed By: Anhad Singh
@Andy-Python-Programmer Andy-Python-Programmer marked this pull request as ready for review July 1, 2021 02:07
* Added some fixes and final methods for this pull request and is ready
to merge!

Signed By: Anhad Singh
@Andy-Python-Programmer Andy-Python-Programmer merged commit 58a5314 into Andy-Python-Programmer:master Jul 1, 2021
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