Skip to content

x86_64/gdt.rs panicked at 'attempt to create unaligned or null slice' #9

@elliott10

Description

@elliott10

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions