[edk2-devel] [PATCH] StandaloneMmPkg: Code Cleanup

Abdul Lateef Attar posted 1 patch 4 years ago
Failed in applying to current master (apply log)
StandaloneMmPkg/Core/StandaloneMmCore.h | 22 ----------------------
1 file changed, 22 deletions(-)
[edk2-devel] [PATCH] StandaloneMmPkg: Code Cleanup
Posted by Abdul Lateef Attar 4 years ago
Removes MmDriverDispatchHandler() declaration.

All MM drivers are dispatched at init time, hence
implemention of MmDriverDispatchHandler() removed.

Signed-off-by: Abdul Lateef Attar <abdul@marvell.com>
---
 StandaloneMmPkg/Core/StandaloneMmCore.h | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.h b/StandaloneMmPkg/Core/StandaloneMmCore.h
index 86f6cfa55a..2f47842f15 100644
--- a/StandaloneMmPkg/Core/StandaloneMmCore.h
+++ b/StandaloneMmPkg/Core/StandaloneMmCore.h
@@ -610,28 +610,6 @@ MmiHandlerUnRegister (
 **/
 EFI_STATUS
 EFIAPI
-MmDriverDispatchHandler (
-  IN     EFI_HANDLE               DispatchHandle,
-  IN     CONST VOID               *Context,        OPTIONAL
-  IN OUT VOID                     *CommBuffer,     OPTIONAL
-  IN OUT UINTN                    *CommBufferSize  OPTIONAL
-  );
-
-/**
-  This function is the main entry point for an MM handler dispatch
-  or communicate-based callback.
-
-  @param  DispatchHandle  The unique handle assigned to this handler by MmiHandlerRegister().
-  @param  Context         Points to an optional handler context which was specified when the handler was registered.
-  @param  CommBuffer      A pointer to a collection of data in memory that will
-                          be conveyed from a non-MM environment into an MM environment.
-  @param  CommBufferSize  The size of the CommBuffer.
-
-  @return Status Code
-
-**/
-EFI_STATUS
-EFIAPI
 MmExitBootServiceHandler (
   IN     EFI_HANDLE               DispatchHandle,
   IN     CONST VOID               *Context,        OPTIONAL
-- 
2.11.0


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57616): https://edk2.groups.io/g/devel/message/57616
Mute This Topic: https://groups.io/mt/73146932/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-