]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuDxe/CpuMp.h
UefiCpuPkg/CpuDxe: introduce ResetApStackless()
[mirror_edk2.git] / UefiCpuPkg / CpuDxe / CpuMp.h
index 2b1717d4107453b39d73c703443476d731bf3380..4254419a933c3ed3af749e5dac5a0cb998b6d665 100644 (file)
@@ -99,6 +99,7 @@ typedef struct {
   EFI_EVENT                      WaitEvent;\r
   BOOLEAN                        TimeoutActive;\r
   EFI_EVENT                      CheckThisAPEvent;\r
+  VOID                           *TopOfStack;\r
 } CPU_DATA_BLOCK;\r
 \r
 /**\r
@@ -622,5 +623,19 @@ FreeApStartupCode (
   VOID\r
   );\r
 \r
+/**\r
+  Resets the Application Processor and directs it to jump to the\r
+  specified routine.\r
+\r
+  The processor jumps to this code in flat mode, but the processor's\r
+  stack is not initialized.\r
+\r
+  @param ProcessorId           the AP of ProcessorId was reset\r
+**/\r
+VOID\r
+ResetApStackless (\r
+  IN UINT32 ProcessorId\r
+  );\r
+\r
 #endif // _CPU_MP_H_\r
 \r