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

fix acpi tables being overwritten #2550

Closed
wants to merge 80 commits into from
Closed

fix acpi tables being overwritten #2550

wants to merge 80 commits into from

Conversation

AsertCreator
Copy link
Contributor

@AsertCreator AsertCreator commented Jan 6, 2023

it should work but i didnt test yet and dont now how. well i fixed acpi table overlapping by making memory allocator to not allocate "unusable" addresses. push to feature/apic.

fixes #2546

  • works on VMware - well at least memory manager works well, apic may work but i didn't check
  • works on qemu - mm is working, but os utilities are not working correctly. maybe it is my fault cos i wrote pretty bad code
  • works on bochs - awaits testing. it doesnt work damnit

@AsertCreator
Copy link
Contributor Author

hmm, why appveyor test doesnt start?

@terminal-cs
Copy link
Contributor

hmm, why appveyor test doesnt start?

Because you aren't pushing to the main branch

@AsertCreator
Copy link
Contributor Author

oh okay

@AsertCreator AsertCreator changed the title fix acpi overlapping fix acpi tables being overwritten Jan 7, 2023
@AsertCreator AsertCreator mentioned this pull request Jan 8, 2023
3 tasks
@valentinbreiz
Copy link
Member

valentinbreiz commented Jan 9, 2023

Thanks for the fix it could be merged if working but it's a tricky way to work around the bug... the actual reason why ACPI tables can be overwritten is because the multiboot2 memory map is kind of broken (and it contains the ACPI table address)

@AsertCreator
Copy link
Contributor Author

oh when i run it in appveyor kernel crashes after ps/2 controller initialization

@AsertCreator
Copy link
Contributor Author

okay, this wont work. if someone has time, please fix this

@AsertCreator AsertCreator deleted the fix-acpi-overlapping branch April 4, 2023 12:45
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.

None yet

10 participants