From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mx.groups.io with SMTP id smtpd.web11.5786.1624009720609846360 for ; Fri, 18 Jun 2021 02:48:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e+5q3BYk; spf=pass (domain: gmail.com, ip: 209.85.214.173, mailfrom: kuqin12@gmail.com) Received: by mail-pl1-f173.google.com with SMTP id x19so4414421pln.2 for ; Fri, 18 Jun 2021 02:48:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vik+DVlDGrRcfm3bktjuY68IcPxmwpfOrwPWDoExP6w=; b=e+5q3BYk1YT4Y5JEUSiqIsqeVNDQ8lpTDE/CjAtUGKBZxRP2LStZb/w5vR21S9zZQn OSCQcNGPDY1FS24z9pGk1LE0/B4XnW5YRUSNcRlQWppeEMGMjK3tW6rRPGp7gL1QKur8 tczTZN6YfAG/OwfSvLVGa0L7t+3p3eybEtARcVcudbYyb1fnUmTvTstwTgvidDHLfzwi o5Q+fUY/bKFl1xXg3GEK1PPiIjFHOYi3yj4261aqSVIoGUz/AW++flGVirZ2Wtxgr0FK G4CJ4wNjslDV4OV4qpUnDAGXb8Xd4gIXdkO4fc9OQuvQEt8XKdVpkN+qfw80bVkhv3wq QRpA== 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:mime-version :content-transfer-encoding; bh=vik+DVlDGrRcfm3bktjuY68IcPxmwpfOrwPWDoExP6w=; b=R2ha53KmhjOYyMl01KwflulVv2apvoHPimdgo/p3lF2U1phZLwLUbOFOp4bkQ4LrxN 45iXbSMzpB3dtNmJ7j9ILLNRLhilwNJyKTrzLL5E0fJFDDgsBssRJJoJ5X9dA/JRF8CH 2uvBqHz8MXLz8MMzcHcD0uDGQHAVfF9SJZ9kAwkvIblXMFL3odV0fsQmPuBhffBu+XIF 861g7HhqVCBdm58Z6FRMgj6l9e6aRWiwo0jNf/5+EvPwTbdQjvKNLH5qoBz/bmEnNB0a UnMAcLh232G38noJYQBrnjThA8GJOVVP2aU87ox7o2ns3fItGfPVB0PGS08oCm2y3XVz tvSw== X-Gm-Message-State: AOAM533gsxhxwUvKrGJ923QRzdHtOVm6cgTLuEEGaQSoEwJ1zId6ueNO p7av4ZAgkaq5xNmuuUprLqb6iGgIqi/qkg== X-Google-Smtp-Source: ABdhPJz4IhQtaimkrUgv0FVDDcDqW0E7stNtVoa6UITLKZSX2JNHlDlfX/VUKJ+cKVDYaEOWJexofw== X-Received: by 2002:a17:90a:a116:: with SMTP id s22mr10195112pjp.218.1624009719882; Fri, 18 Jun 2021 02:48:39 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([50.35.88.161]) by smtp.gmail.com with ESMTPSA id j7sm12930291pjf.0.2021.06.18.02.48.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Jun 2021 02:48:39 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Michael Kubacki Subject: [PATCH v1 0/2] Add MM Configuration PPI definition to MdePkg Date: Fri, 18 Jun 2021 02:48:27 -0700 Message-Id: <20210618094829.2651-1-kuqin12@gmail.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3440 EFI_PEI_MM_CONFIGURATION_PPI is defined since PI spec v1.5. This patch series added the interface definition and related GUIDs into MdePkg. On the other hand, EFI_MM_RESERVED_MMRAM_REGION is referenced by both MM Configuration PPI and Protocol definitions, but currently defined in Protocol/MmConfiguration.h. To avoid data strcuture entanglement during usage, the EFI_MM_RESERVED_MMRAM_REGION definition is moved to PiMmCis.h for common access for both MM Configuration PPI and Protocol. Patch v1 branch: https://github.com/kuqin12/edk2/tree/mm_config_ppi_v1 Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Michael Kubacki Kun Qin (2): MdePkg: MmConfiguration: Moved EFI_MM_RESERVED_MMRAM_REGION to PiMmCis.h MdePkg: MmConfiguration: Added definition of MM Configuration PPI MdePkg/Include/Pi/PiMmCis.h | 16 +++++ MdePkg/Include/Ppi/MmConfiguration.h | 62 ++++++++++++++++++++ MdePkg/Include/Protocol/MmConfiguration.h | 16 ----- MdePkg/MdePkg.dec | 3 + 4 files changed, 81 insertions(+), 16 deletions(-) create mode 100644 MdePkg/Include/Ppi/MmConfiguration.h -- 2.31.1.windows.1