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

MicroPythonDxe: Fixed an issue where struct arrays can always access only the attributes of the first element. #268

Open
wants to merge 1 commit into
base: MicroPythonTestFramework
Choose a base branch
from

Commits on Dec 17, 2021

  1. MicroPythonDxe: Fixed an issue where struct arrays can always

    access only the attributes of the first element.
    
    To get the value of a typespec OrderedDict mem object and
    create a pointer to the mem object corresponding to index,
    we should pass `typespec` into the function `efi_mem_new_n` and
    let the 'efi_mem_typecast' function map the entire fields of OrderedDict object,
    rather than simply assigning fields after creating the mem object.
    zaixingzhang committed Dec 17, 2021
    Configuration menu
    Copy the full SHA
    2f2a499 View commit details
    Browse the repository at this point in the history