Skip to content

Core abort on Aarch64 #842

Closed
Closed
@NailAgliev

Description

@NailAgliev

Hello!

I`m struck with problem of getting core exception when my efi app being run.
Exception occurs when newly introduced function install_configuration_table being called. @RaitoBezarius #821

I got ESR of value 0x96000004. I`m not so confident about my knowlage in armv8 arch but as i understand it correctly abort was caused by reading memory from efi runtime that mapped to efi application.

I found solution to my problem and now call is successful.

I`m new to rust so i asking for help verifying validity of my solution before creating PR.

install_configuration_table: unsafe extern "efiapi" fn(
        guid_entry: &Guid, <<<< i added &
        table_ptr: *const c_void
    ) -> Status,
pub unsafe fn install_configuration_table(
        &self,
        guid_entry: &Guid, <<<< i added &
        table_ptr: *const c_void,
    ) -> Result {
        (self.install_configuration_table)(guid_entry, table_ptr).to_result()
    }

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