From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) by mx.groups.io with SMTP id smtpd.web09.20289.1629700425692660588 for ; Sun, 22 Aug 2021 23:33:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@google.com header.s=20161025 header.b=YGgG21Mg; spf=pass (domain: flex--chengchieh.bounces.google.com, ip: 209.85.219.202, mailfrom: 3seejyqokbwchmjslhmnjmlttlqj.htrijajqjiph.lwtzux.nt@flex--chengchieh.bounces.google.com) Received: by mail-yb1-f202.google.com with SMTP id i32-20020a25b2200000b02904ed415d9d84so15651424ybj.0 for ; Sun, 22 Aug 2021 23:33:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=cccU+l9OUQP8BWg7bvC3kTLKW/5GAQXekkDTEZS5Ncw=; b=YGgG21MgoJzYWB/PhnoHjj5m1eMeucHPckeNttXp7f2LOlwylDKJg307BPQ43iz0Lg Rl8sfuCw70CHht9iympJ3OJi8nPncmahBoZUj/ds5pIq2/qe1cMC9cPSL/eqtjGCw7NV n+2BnH6+BfpLKh4EByHG9KCUZ0nTZP494EQfkLaoIEmvZ41gNUAnFXpk10ldpfIwI/R2 RRgVWbxm9gre4l/ZgscbHHRx51UrOYfvryt2snrEf2upH0dgzFXkoF8kr81TlETX+81y iU4f1Xin8o8eI4I5cA96uzv2J16IuWZgyAS2k22ohKqRd/lvOQUljaFsxcWympRYRUzU ikcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=cccU+l9OUQP8BWg7bvC3kTLKW/5GAQXekkDTEZS5Ncw=; b=giISbqY6FlY/VHtLRAvTR1CcRvgwruz7eBYcmTKkN5uOrNRybd2bOeKOO6ul4WSxu0 II5QtK6+W6oGjQ1sUpqfarxZKYYi5byGe806qPKtCuY//jmy7ipCjKhht0XNr5EVXgFz WsuKlHXeV959k92RWSzSF00lAO1kV3dkmR2JAcESJxNW16p1cqj2E+TPgjdJD6UYo7bh 4gnhteYVGQLbm8/OUBmcv1gcm0JHfXI4HwJAE5RsME+nupYqh/K7L+b1dmeSIGuwqLjv ByX8Ij8pYefhec/6PDKBVEQP/0l7cGJagcwt324e9GTNLjYTWhMI9MG/8IfjvGh7p9gz xoTQ== X-Gm-Message-State: AOAM530hmYrefubzzwabq/VwJpoGuP1dADpAOLdwYOFMHH0IB47kBMvs C3MGbFWnwU/ZWanbDzH22u91G01BqRM1r7B60/dQdx+avu6pOsugsJdgcwGNdA2qyhooZIYLr2N qLj/rVRxP+KW52x2Z3ftNPUqnoXDlU3dEH+3wt870wAoO9ZMkUwf1J/38rYcKCQ7tiFVXbA== X-Google-Smtp-Source: ABdhPJxtPOd3FE2NxakC2rB7lBFMOUhGQ08rLBU3LpTclAE9NA7oSB2EjeNODTSctKymzAfFOCkdorGEDiXnjIK2 X-Received: from ratho96.c.googlers.com ([fda3:e722:ac3:cc00:3:22c1:c0a8:aae]) (user=chengchieh job=sendgmr) by 2002:a25:b983:: with SMTP id r3mr41309839ybg.430.1629700424815; Sun, 22 Aug 2021 23:33:44 -0700 (PDT) Date: Mon, 23 Aug 2021 06:33:12 +0000 In-Reply-To: <20210823063312.2323801-1-chengchieh@google.com> Message-Id: <20210823063312.2323801-5-chengchieh@google.com> Mime-Version: 1.0 References: <20210823063312.2323801-1-chengchieh@google.com> X-Mailer: git-send-email 2.33.0.rc2.250.ged5fa647cd-goog Subject: [PATCH v3 4/4] UefiPayloadPkg: Reserve Payload config in runtime services data From: Cheng-Chieh Huang To: devel@edk2.groups.io Cc: Cheng-Chieh Huang , Daniel Schaefer , Trammell Hudson , Maurice Ma , Guo Dong , Benjamin You , Ray Ni Content-Type: text/plain; charset="UTF-8" Signed-off-by: Cheng-Chieh Huang Cc: Cheng-Chieh Huang Cc: Daniel Schaefer Cc: Trammell Hudson Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Cc: Ray Ni --- UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c index ae16f25c7c0e..5bace742d73e 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c +++ b/UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c @@ -517,6 +517,10 @@ BuildGenericHob ( // The UEFI payload FV BuildMemoryAllocationHob (PcdGet32 (PcdPayloadFdMemBase), PcdGet32 (PcdPayloadFdMemSize), EfiBootServicesData); + #ifdef LINUXBOOT_PAYLOAD + // The UEFI payload config FV + BuildMemoryAllocationHob (PcdGet32 (PcdPayloadFdMemBase) - SIZE_64KB, SIZE_64KB, EfiRuntimeServicesData); + #endif // // Build CPU memory space and IO space hob -- 2.33.0.rc2.250.ged5fa647cd-goog