We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Occasionally an error occurs when the x86 64 arch boot:
panicked at 'attempt to create unaligned or null slice'
The location of the error occurs in x86_64/gdt.rs
39 let old_gdt = core::slice::from_raw_parts(gdtp.base.as_ptr::<u64>(), entry_count);
The text was updated successfully, but these errors were encountered:
The memory address of gdt must be aligned, in order to solve this panick. Like:
.align 4 gdt_64: .quad 0x0000000000000000 # Null Descriptor - should be present. .quad 0x00209A0000000000 # 64-bit code descriptor (exec/read). .quad 0x0000920000000000 # 64-bit data descriptor (read/write).
Sorry, something went wrong.
No branches or pull requests
Occasionally an error occurs when the x86 64 arch boot:
The location of the error occurs in x86_64/gdt.rs
The text was updated successfully, but these errors were encountered: