]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/ResetVector/Ia32/32FlatTo64Flat.asm
OVMF ResetVector: Modify interface with SEC module
[mirror_edk2.git] / OvmfPkg / ResetVector / Ia32 / 32FlatTo64Flat.asm
index f0528d4460fb7ef5f6426f06ef2121506b9135e9..a97f9cc70712dcc5f0eb6ef9aa509f02ec6d21bb 100644 (file)
@@ -1,6 +1,8 @@
 ;------------------------------------------------------------------------------\r
+; @file\r
+; Transition from 32 bit flat protected mode into 64 bit flat protected mode\r
 ;\r
-; Copyright (c) 2008, Intel Corporation\r
+; Copyright (c) 2008 - 2009, Intel Corporation\r
 ; All rights reserved. This program and the accompanying materials\r
 ; are licensed and made available under the terms and conditions of the BSD License\r
 ; which accompanies this distribution.  The full text of the license may be found at\r
 ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 ;\r
-; Module Name:\r
-;\r
-;   32FlatTo64Flat.asm\r
-;\r
-; Abstract:\r
-;\r
-;   Transition from 32 bit flat protected mode into 64 bit flat protected mode\r
-;\r
 ;------------------------------------------------------------------------------\r
 \r
 BITS    32\r
 \r
+;\r
+; Modified:  EAX\r
+;\r
 Transition32FlatTo64Flat:\r
 \r
     mov     eax, ((ADDR_OF_START_OF_RESET_CODE & ~0xfff) - 0x1000)\r
@@ -43,9 +40,7 @@ Transition32FlatTo64Flat:
 BITS    64\r
 jumpTo64BitAndLandHere:\r
 \r
-    writeToSerialPort '6'\r
-    writeToSerialPort '4'\r
-    writeToSerialPort ' '\r
+    debugShowPostCode POSTCODE_64BIT_MODE\r
 \r
     OneTimeCallRet Transition32FlatTo64Flat\r
 \r