1 ;------------------------------------------------------------------------------
3 ; Transition from 32 bit flat protected mode into 64 bit flat protected mode
5 ; Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
6 ; SPDX-License-Identifier: BSD-2-Clause-Patent
8 ;------------------------------------------------------------------------------
15 Transition32FlatTo64Flat:
17 OneTimeCall SetCr3ForPageTables64
20 bts eax, 5 ; enable PAE
30 mov cr0, eax ; enable paging
32 jmp LINEAR_CODE64_SEL:ADDR_OF(jumpTo64BitAndLandHere)
34 jumpTo64BitAndLandHere:
36 debugShowPostCode POSTCODE_64BIT_MODE
38 OneTimeCallRet Transition32FlatTo64Flat