]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg: Remove unused API in SmmCpuFeaturesLib.h
authorTan, Dun <dun.tan@intel.com>
Wed, 21 Dec 2022 04:21:55 +0000 (12:21 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 21 Dec 2022 11:13:48 +0000 (11:13 +0000)
Remove SmmCpuFeaturesAllocatePageTableMemory in this headfile.
This API is not used by PiSmmCpuDxeSmm driver any more. Also
no other files use this API.

Signed-off-by: Dun Tan <dun.tan@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h

index 54cae865a28ea686c1ac46949986535e4129e03f..52160c7145ba81084460f6eedb980afa56fb581f 100644 (file)
@@ -386,29 +386,4 @@ SmmCpuFeaturesCompleteSmmReadyToLock (
   VOID\r
   );\r
 \r
-/**\r
-  This API provides a method for a CPU to allocate a specific region for storing page tables.\r
-\r
-  This API can be called more once to allocate memory for page tables.\r
-\r
-  Allocates the number of 4KB pages of type EfiRuntimeServicesData and returns a pointer to the\r
-  allocated buffer.  The buffer returned is aligned on a 4KB boundary.  If Pages is 0, then NULL\r
-  is returned.  If there is not enough memory remaining to satisfy the request, then NULL is\r
-  returned.\r
-\r
-  This function can also return NULL if there is no preference on where the page tables are allocated in SMRAM.\r
-\r
-  @param  Pages                 The number of 4 KB pages to allocate.\r
-\r
-  @return A pointer to the allocated buffer for page tables.\r
-  @retval NULL      Fail to allocate a specific region for storing page tables,\r
-                    Or there is no preference on where the page tables are allocated in SMRAM.\r
-\r
-**/\r
-VOID *\r
-EFIAPI\r
-SmmCpuFeaturesAllocatePageTableMemory (\r
-  IN UINTN  Pages\r
-  );\r
-\r
 #endif\r