]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/Include/Library/SmmCpuFeaturesLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / UefiCpuPkg / Include / Library / SmmCpuFeaturesLib.h
index 39ca304b31e64bb2c6125a88ff3147fa3d91c652..52160c7145ba81084460f6eedb980afa56fb581f 100644 (file)
@@ -338,7 +338,7 @@ SmmCpuFeaturesSetSmmRegister (
                         from the save state.\r
 \r
   @retval EFI_SUCCESS           The register was read from Save State.\r
-  @retval EFI_INVALID_PARAMTER  Buffer is NULL.\r
+  @retval EFI_INVALID_PARAMETER  Buffer is NULL.\r
   @retval EFI_UNSUPPORTED       This function does not support reading Register.\r
 \r
 **/\r
@@ -364,7 +364,7 @@ SmmCpuFeaturesReadSaveStateRegister (
   @param[in] Buffer    Upon entry, this holds the new CPU register value.\r
 \r
   @retval EFI_SUCCESS           The register was written to Save State.\r
-  @retval EFI_INVALID_PARAMTER  Buffer is NULL.\r
+  @retval EFI_INVALID_PARAMETER  Buffer is NULL.\r
   @retval EFI_UNSUPPORTED       This function does not support writing Register.\r
 **/\r
 EFI_STATUS\r
@@ -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