1 TITLE EnterDxeCore.asm: Assembly code for the entering DxeCore
2 ;------------------------------------------------------------------------------
4 ;* Copyright 2006, Intel Corporation
5 ;* All rights reserved. This program and the accompanying materials
6 ;* are licensed and made available under the terms and conditions of the BSD License
7 ;* which accompanies this distribution. The full text of the license may be found at
8 ;* http://opensource.org/licenses/bsd-license.php
10 ;* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 ;* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 ;------------------------------------------------------------------------------
31 ; IN VOID *DxeCoreEntryPoint,
38 DxeCoreEntryPoint:DWORD, \
43 ; mov cr3, eax ; load page table
45 ; bts eax, 4 ; enable CR4.PSE
48 ; bts eax, 31 ; enable CR0.PG
50 mov ecx, DxeCoreEntryPoint
58 ; should never get here