From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f74.google.com (mail-qv1-f74.google.com [209.85.219.74]) by mx.groups.io with SMTP id smtpd.web12.4459.1620272725581522808 for ; Wed, 05 May 2021 20:45:25 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@google.com header.s=20161025 header.b=fDW7Sg/L; spf=pass (domain: flex--moritzf.bounces.google.com, ip: 209.85.219.74, mailfrom: 3vgatyackbxkjlofqwcdlldib.zljabsbibahz.dolrmp.fl@flex--moritzf.bounces.google.com) Received: by mail-qv1-f74.google.com with SMTP id o6-20020a0ccb060000b02901c0933b76e1so3230422qvk.8 for ; Wed, 05 May 2021 20:45:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=o1p0ZMb1MBHxdxgTDE0DacPUTJV0K1in71j5QBMhyg0=; b=fDW7Sg/LDB9WUz13+RXZWzKWXAtitK2fK09x3yEt1/IMWGVhk5B4SS27fnPLz9rJSd AfGM1vkZdRhMCfaGXrowBq4TS2s3whWTfO4fog/yHmrZ1/0z10Kgvs3xr0iriA82HZSy akRGgOyrDpMhwMb2C3u+N+CIGjs8jrGav1v75yT6kk7n8j6XgEETXnBUa7Qk67ZgBaGY qfNaKXSF8ZCphUUCOxE/TU9/ao0cWdBraQiBS8GgCKQY86tU7iSEXXptjnvYge50ssjy K5W0EAD7ZtjOmOgwIqfX3NrKi1+u0JL0q1eY7ZIFoO9YA1N/GbI0Iu4n4zNoS7er0a3g MFSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=o1p0ZMb1MBHxdxgTDE0DacPUTJV0K1in71j5QBMhyg0=; b=DQKAMlMDuBQ7FOAgPxSOb9G/yVRf5SPuvs0jKCgHYbdeFD8Mov1/Zu3zwp4pdklfMG ZpnLgtduoNSMlFFIK3p44oLzenHjJKtmqLLBDKcRhbUKTUdiSsu9sC3IuZ/LpuIQDFvd iCd4/OQDWa5Y+dhFpGYizOMRjsmZPuZm5v7mNfP4ozyWegUO3ETy3+t4NPFO8V49Q6Ke teg+sQ9VqpWyS3x6xxsYhHkmQ4Uxnk/BV8yCuYUK4HjxGS0bsAIN6yWsqXpYSYntWdEi kqFYuRc/EOzz4SpjlUXfKrNGvMNPwIMRCXLGC3fMCPVi9THL10lZ14WigIlnPw1BL/Fm Cphg== X-Gm-Message-State: AOAM533aL8IU1K0SnEd/yEFKhYlQNOl/Z2tJfDPJj3jFqAaZ5ReWLz5S wXjcgYvtpJf+vbScb8SiQEFJ9K0xUsAhGTTZCUGckl/aIkX9vyF3qWG+rK5ocMbC8K+Mt1c2gr5 prXecN+Efoo6WLth2RbokaWYwkP2fUhQimkEW/28/nWIWqEm+fJNQ5u7Ihn5lNA== X-Google-Smtp-Source: ABdhPJyL2V08LHBv32JpM7nvcPw5DN4ld7W4a8trZxX8r3X+Gb8mBO8vPK9Fb2NJ4hExF+wq+p58HWv2ZqEa X-Received: from tyrael.svl.corp.google.com ([2620:15c:2a3:200:63ce:e5f:53de:ed8c]) (user=moritzf job=sendgmr) by 2002:a0c:e486:: with SMTP id n6mr2088519qvl.21.1620272724525; Wed, 05 May 2021 20:45:24 -0700 (PDT) Date: Wed, 5 May 2021 20:44:16 -0700 Message-Id: <20210506034416.1069223-1-moritzf@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.31.1.527.g47e6f16901-goog Subject: [PATCH] UefiPayloadPkg: Replace MEMROY_ENTRY by MEMORY_ENTRY From: moritzf@google.com To: devel@edk2.groups.io Cc: Moritz Fischer , Maurice Ma , Guo Dong , Benjamin You Content-Type: text/plain; charset="UTF-8" Fixes simple typo, no behavioral change. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Moritz Fischer --- UefiPayloadPkg/Include/Guid/MemoryMapInfoGuid.h | 6 +++--- UefiPayloadPkg/Include/Library/BlParseLib.h | 2 +- UefiPayloadPkg/Library/CbParseLib/CbParseLib.c | 2 +- UefiPayloadPkg/Library/SblParseLib/SblParseLib.c | 4 ++-- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/UefiPayloadPkg/Include/Guid/MemoryMapInfoGuid.h b/UefiPayloadPkg/Include/Guid/MemoryMapInfoGuid.h index 99187e8037cd..47922b18512a 100644 --- a/UefiPayloadPkg/Include/Guid/MemoryMapInfoGuid.h +++ b/UefiPayloadPkg/Include/Guid/MemoryMapInfoGuid.h @@ -23,14 +23,14 @@ typedef struct { UINT8 Type; UINT8 Flag; UINT8 Reserved[6]; -} MEMROY_MAP_ENTRY; +} MEMORY_MAP_ENTRY; typedef struct { UINT8 Revision; UINT8 Reserved0[3]; UINT32 Count; - MEMROY_MAP_ENTRY Entry[0]; -} MEMROY_MAP_INFO; + MEMORY_MAP_ENTRY Entry[0]; +} MEMORY_MAP_INFO; #pragma pack() #endif diff --git a/UefiPayloadPkg/Include/Library/BlParseLib.h b/UefiPayloadPkg/Include/Library/BlParseLib.h index 20a526d15c63..fe6d9fffd408 100644 --- a/UefiPayloadPkg/Include/Library/BlParseLib.h +++ b/UefiPayloadPkg/Include/Library/BlParseLib.h @@ -20,7 +20,7 @@ #define SET_BOOTLOADER_PARAMETER(Value) GET_BOOTLOADER_PARAMETER()=Value typedef RETURN_STATUS \ - (*BL_MEM_INFO_CALLBACK) (MEMROY_MAP_ENTRY *MemoryMapEntry, VOID *Param); + (*BL_MEM_INFO_CALLBACK) (MEMORY_MAP_ENTRY *MemoryMapEntry, VOID *Param); /** This function retrieves the parameter base address from boot loader. diff --git a/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c b/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c index 4e23cff50e77..a3d0d9f6e3f7 100644 --- a/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c +++ b/UefiPayloadPkg/Library/CbParseLib/CbParseLib.c @@ -381,7 +381,7 @@ ParseMemoryInfo ( struct cb_memory *rec; struct cb_memory_range *Range; UINTN Index; - MEMROY_MAP_ENTRY MemoryMap; + MEMORY_MAP_ENTRY MemoryMap; // // Get the coreboot memory table diff --git a/UefiPayloadPkg/Library/SblParseLib/SblParseLib.c b/UefiPayloadPkg/Library/SblParseLib/SblParseLib.c index 7214fd87d20c..89bd2d7abdea 100644 --- a/UefiPayloadPkg/Library/SblParseLib/SblParseLib.c +++ b/UefiPayloadPkg/Library/SblParseLib/SblParseLib.c @@ -93,10 +93,10 @@ ParseMemoryInfo ( IN VOID *Params ) { - MEMROY_MAP_INFO *MemoryMapInfo; + MEMORY_MAP_INFO *MemoryMapInfo; UINTN Idx; - MemoryMapInfo = (MEMROY_MAP_INFO *) GetGuidHobDataFromSbl (&gLoaderMemoryMapInfoGuid); + MemoryMapInfo = (MEMORY_MAP_INFO *) GetGuidHobDataFromSbl (&gLoaderMemoryMapInfoGuid); if (MemoryMapInfo == NULL) { ASSERT (FALSE); return RETURN_NOT_FOUND; diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c index 805f5448d9a1..00f46da5efc5 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c @@ -19,7 +19,7 @@ **/ EFI_STATUS MemInfoCallback ( - IN MEMROY_MAP_ENTRY *MemoryMapEntry, + IN MEMORY_MAP_ENTRY *MemoryMapEntry, IN VOID *Params ) { -- 2.31.1.527.g47e6f16901-goog