From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::243; helo=mail-wm0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B2A83220C1C3A for ; Thu, 30 Nov 2017 07:20:42 -0800 (PST) Received: by mail-wm0-x243.google.com with SMTP id b76so13171393wmg.1 for ; Thu, 30 Nov 2017 07:25:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=d4tS9ikGv2Vh9Mi6c8oADQLGus16TKuhPsZqp/UOGC4=; b=EWfaiRxo18E+Kq/ZASsiVSrD4lAcylfaABXbKr2uDcM0wsQmW5lwTFUZZkVz2k2q0v rx+4xxPdFUoTT50+AvApPQKEJs7T3O09vO/TLC4z6BaxfuX6OKMtMJ143VhLxYcnaOVh 96A2/et4pVHzAOu8kbG5tTv7XYHA0mbt8QSfs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=d4tS9ikGv2Vh9Mi6c8oADQLGus16TKuhPsZqp/UOGC4=; b=UveLlckxL0hZHbf29S9n1ISPE2l2gtPMgb4KBrZdCbN4agquNrsSOqHcJbl2POx+I6 IsMN+QzwrFqwyltD4XZJ9Ey+LaAnyXBI1/w6HE8V8jdOPxbuzwm2kP5W0rOCb0Yy5pIs bxOQoSLfH7xGB91zmGuzeaHdDk3H/GMnf9oxVWt98s/uj4GmAHhvprhOgkDiqBAKMrhi 2s0pw1dxCbGK07CpBNbzUaX49BDzSUSqWqLu4d2up0DPvX93KiM5Db2nge81iJhOMTFr BHXiDMNvHnKI6a1DdQv22KROOrBdeubCwKkYn+5xrg/dXqy1nR26YyaSw5IYGcbE5x5a 4SvQ== X-Gm-Message-State: AJaThX4gzGfh/iiwVsLr2w9wEeVuUEw0X/RXlYiL8mY59WdyTxVhCS4D RoUN5CAGTkHX35hb5oUalcRagyUpoWg= X-Google-Smtp-Source: AGs4zMa2CCRjloFQvqeYYrX2f8NgVWpWRo+bppSjl/lZNU06Axd9zliKwX97acwki5nzXYSPo/ql1Q== X-Received: by 10.28.173.213 with SMTP id w204mr945030wme.126.1512055506274; Thu, 30 Nov 2017 07:25:06 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id 43sm2566328wru.81.2017.11.30.07.25.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 07:25:05 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, Ard Biesheuvel , Udit Kumar , Meenakshi Aggarwal , Sakar Arora Date: Thu, 30 Nov 2017 15:24:46 +0000 Message-Id: <20171130152453.19205-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [PATCH 0/7] ArmPlatformPkg/PrePi: stop exposing internal code via HOBs X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2017 15:20:43 -0000 This removes the code from PrePi and MemoryInitPeiLib that keeps the primary FV around forever so that DXE phase code can reuse some of the code inside the PrePi module. Cc: Udit Kumar Cc: Meenakshi Aggarwal Cc: Sakar Arora Ard Biesheuvel (6): EmbeddedPkg BeagleBoardPkg: move special HOB reuse libraries into platform BeagleBoardPkg: create private PrePi implementation BeagleBoardPkg: clone MemoryInitPeiLib ArmPlatformPkg/PrePi: don't expose PE/COFF and LZMA libraries via HOBs ArmPlatformPkg/PrePi; call all constructors by hand ArmPlatformPkg/PrePi: remove bogus IntelFrameworkModulePkg reference Meenakshi Aggarwal (1): ArmPlatformPkg/MemoryInitPeiLib: don't reserve primary FV in memory ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.c | 69 ------- ArmPlatformPkg/PrePi/PeiMPCore.inf | 2 - ArmPlatformPkg/PrePi/PeiUniCore.inf | 2 - ArmPlatformPkg/PrePi/PrePi.c | 24 +-- BeagleBoardPkg/BeagleBoardPkg.dsc | 14 +- BeagleBoardPkg/BeagleBoardPkg.fdf | 2 +- {EmbeddedPkg => BeagleBoardPkg}/Library/DxeHobPeCoffLib/DxeHobPeCoff.c | 0 {EmbeddedPkg => BeagleBoardPkg}/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf | 0 {EmbeddedPkg => BeagleBoardPkg}/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.c | 0 {EmbeddedPkg => BeagleBoardPkg}/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf | 0 BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.c | 198 ++++++++++++++++++++ BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf | 64 +++++++ BeagleBoardPkg/PrePi/Arm/ArchPrePi.c | 29 +++ BeagleBoardPkg/PrePi/Arm/ModuleEntryPoint.S | 130 +++++++++++++ BeagleBoardPkg/PrePi/Arm/ModuleEntryPoint.asm | 148 +++++++++++++++ {ArmPlatformPkg => BeagleBoardPkg}/PrePi/LzmaDecompress.h | 0 BeagleBoardPkg/PrePi/MainUniCore.c | 39 ++++ BeagleBoardPkg/PrePi/PeiUniCore.inf | 104 ++++++++++ BeagleBoardPkg/PrePi/PrePi.c | 198 ++++++++++++++++++++ BeagleBoardPkg/PrePi/PrePi.h | 90 +++++++++ EmbeddedPkg/EmbeddedPkg.dsc | 2 - 21 files changed, 1012 insertions(+), 103 deletions(-) rename {EmbeddedPkg => BeagleBoardPkg}/Library/DxeHobPeCoffLib/DxeHobPeCoff.c (100%) rename {EmbeddedPkg => BeagleBoardPkg}/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf (100%) rename {EmbeddedPkg => BeagleBoardPkg}/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.c (100%) rename {EmbeddedPkg => BeagleBoardPkg}/Library/LzmaHobCustomDecompressLib/LzmaHobCustomDecompressLib.inf (100%) create mode 100644 BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.c create mode 100644 BeagleBoardPkg/Library/MemoryInitPeiLib/MemoryInitPeiLib.inf create mode 100644 BeagleBoardPkg/PrePi/Arm/ArchPrePi.c create mode 100644 BeagleBoardPkg/PrePi/Arm/ModuleEntryPoint.S create mode 100644 BeagleBoardPkg/PrePi/Arm/ModuleEntryPoint.asm rename {ArmPlatformPkg => BeagleBoardPkg}/PrePi/LzmaDecompress.h (100%) create mode 100644 BeagleBoardPkg/PrePi/MainUniCore.c create mode 100644 BeagleBoardPkg/PrePi/PeiUniCore.inf create mode 100644 BeagleBoardPkg/PrePi/PrePi.c create mode 100644 BeagleBoardPkg/PrePi/PrePi.h -- 2.11.0