]> git.proxmox.com Git - mirror_edk2.git/blobdiff - QuarkPlatformPkg/Library/PlatformSecLib/Ia32/Flat32.S
QuarkPlatformPkg/PlatformSecLib: Sync Flat32.S with Flat32.asm
[mirror_edk2.git] / QuarkPlatformPkg / Library / PlatformSecLib / Ia32 / Flat32.S
index fbdad53aa0414c2ac3a9b5be4176b5d43cd5b734..2bb503f6a4ce1a76e8af61907ec666880ede7b95 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2013 Intel Corporation.\r
+# Copyright (c) 2013 - 2015 Intel Corporation.\r
 #\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
@@ -301,35 +301,10 @@ PushBist:
   pushl   %ebp\r
   loop    PushBist\r
 \r
-  #\r
-  # Pass entry point of the PEI core\r
-  #\r
-  movl $0xFFFFFFE0, %edi\r
-  pushl %ds:(%edi)\r
-\r
-  #\r
-  # Pass BFV into the PEI Core\r
-  #\r
-  movl $0xFFFFFFFC, %edi\r
-  pushl %ds:(%edi)\r
-\r
-  #\r
-  # Pass Temp Ram Base into the PEI Core\r
-  #\r
-  movl    ASM_PFX(PcdGet32(PcdEsramStage1Base)), %eax\r
-  addl    $(QUARK_ESRAM_MEM_SIZE_BYTES - QUARK_STACK_SIZE_BYTES), %eax\r
-  pushl   %eax\r
-\r
-\r
-  #\r
-  # Pass stack size into the PEI Core\r
-  #\r
-  pushl   $QUARK_STACK_SIZE_BYTES\r
-\r
   #\r
   # Pass Control into the PEI Core\r
   #\r
-  call SecStartup\r
+  call PlatformSecLibStartup\r
 \r
   #\r
   # PEI Core should never return to here, this is just to capture an invalid return.\r