From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 56DD5941BEF for ; Thu, 28 Sep 2023 21:14:14 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=8B+7L44x/7hYsQq/gOl9CpI30/HK4HJGvtexvWckifw=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1695935653; v=1; b=oBftfaQXUJMsZsnIMsA2Fy+B66j7dpA1wzuRhYrsPF+SRu7D/TdifeqwPtDMpgfFPEdrhg7N sCkW25/Qj8QYxtjC/mpig/q6/SE4F+LNXF+8BHZmakwboxDwBC8i+CUdcVkmiAg2r9IDkTGMWYP dXY3/IEl2Um+DGTlJ26xGEgw= X-Received: by 127.0.0.2 with SMTP id iKg1YY7687511xrfy77JO6Hy; Thu, 28 Sep 2023 14:14:13 -0700 X-Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) by mx.groups.io with SMTP id smtpd.web10.4139.1695935652222623805 for ; Thu, 28 Sep 2023 14:14:12 -0700 X-Received: by mail-io1-f43.google.com with SMTP id ca18e2360f4ac-79f909071c3so460831439f.0 for ; Thu, 28 Sep 2023 14:14:12 -0700 (PDT) X-Gm-Message-State: Jl6WncZMLt6XfMvQvcWsXOI4x7686176AA= X-Google-Smtp-Source: AGHT+IGS0t8EsZkFDI7HEYmbuYp4vAOrKhqwwZtCZxYUxnr45YZEExDN7ePs44lq/krqHgeXtaLFlA== X-Received: by 2002:a05:6602:22c6:b0:776:fd07:3c96 with SMTP id e6-20020a05660222c600b00776fd073c96mr2681398ioe.7.1695935651108; Thu, 28 Sep 2023 14:14:11 -0700 (PDT) X-Received: from localhost.localdomain (c-98-210-194-104.hsd1.ca.comcast.net. [98.210.194.104]) by smtp.gmail.com with ESMTPSA id fn12-20020a056638640c00b0042b3e04510asm4881554jab.98.2023.09.28.14.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 14:14:10 -0700 (PDT) From: "Tuan Phan" To: devel@edk2.groups.io Cc: ardb+tianocore@kernel.org, sami.mujawar@arm.com, ray.ni@intel.com, huangming@linux.alibaba.com, sunilvl@ventanamicro.com, yong.li@intel.com, yeoreum.yun@arm.com, Tuan Phan Subject: [edk2-devel] [PATCH v3 0/2] Make StandaloneMmCpu architecture independent Date: Thu, 28 Sep 2023 14:14:02 -0700 Message-Id: <20230928211404.27533-1-tphan@ventanamicro.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,tphan@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=oBftfaQX; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io This series makes StandaloneMmCpu architecture independent so other architectures besides ARM/AARCH64 can use it without creating new driver. There are two parts in this series: 1. Remove ARM/AARCH64 code from StandaloneMmCpu. 2. Update ARM/AARCH64 entry point library code. V3: - Addressed Sami's comments. V2: - Seperated changes between CPU driver and Arm entry point library. Tuan Phan (2): StandaloneMmPkg: Make StandaloneMmCpu driver architecture independent StandaloneMmPkg: Arm: Update to use the new StandaloneMmCpu driver .../Drivers/StandaloneMmCpu/EventHandle.c | 25 ++----- .../Drivers/StandaloneMmCpu/StandaloneMmCpu.c | 42 ++++++----- .../StandaloneMmCpu/StandaloneMmCpu.inf | 9 +-- .../Library/Arm/StandaloneMmCoreEntryPoint.h | 17 +---- .../StandaloneMmCpu.h | 22 ++++-- .../Arm/CreateHobList.c | 43 ++++++------ .../Arm/StandaloneMmCoreEntryPoint.c | 69 +++++++++++-------- .../StandaloneMmCoreEntryPoint.inf | 2 +- StandaloneMmPkg/StandaloneMmPkg.dec | 2 +- 9 files changed, 113 insertions(+), 118 deletions(-) rename StandaloneMmPkg/{Drivers/StandaloneMmCpu => Include}/StandaloneMmCpu.h (82%) -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109177): https://edk2.groups.io/g/devel/message/109177 Mute This Topic: https://groups.io/mt/101646675/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-