; @file\r
; Transition from 32 bit flat protected mode into 64 bit flat protected mode\r
;\r
-; Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>\r
; 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
;\r
Transition32FlatTo64Flat:\r
\r
- mov eax, ((ADDR_OF_START_OF_RESET_CODE & ~0xfff) - 0x1000)\r
- mov cr3, eax\r
+ OneTimeCall SetCr3ForPageTables64\r
\r
mov eax, cr4\r
bts eax, 5 ; enable PAE\r