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

Initial CPU state #34

Closed
Amjad50 opened this issue Jan 11, 2024 · 0 comments
Closed

Initial CPU state #34

Amjad50 opened this issue Jan 11, 2024 · 0 comments
Assignees
Labels
kernel Kernel related work

Comments

@Amjad50
Copy link
Owner

Amjad50 commented Jan 11, 2024

I noticed in UEFI and BIOS, the state of the CPU is different, namely the MSR and C0,4 registers.
for example, as of writing this issue, with UEFI, the kernel cannot write to protected user pages, but with BIOS it can. (tested in qemu only).
Which resulted in a crash in the ELF loader for UEFI, because we are writing to a read-only user pages.

Would be good to have a standard known from boot which features we have support for.

@Amjad50 Amjad50 added the kernel Kernel related work label Jan 11, 2024
@Amjad50 Amjad50 self-assigned this Jan 11, 2024
@Amjad50 Amjad50 closed this as completed in c51abf9 Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Kernel related work
Projects
Status: Done
Development

No branches or pull requests

1 participant