Non-existing.c revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
2N/A Non-existing BaseLib functions on Ia32 2N/A Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> 2N/A This program and the accompanying materials 2N/A are licensed and made available under the terms and conditions of the BSD License 2N/A which accompanies this distribution. The full text of the license may be found at 2N/A THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 2N/A WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 2N/A Disables the 64-bit paging mode on the CPU. 2N/A Disables the 64-bit paging mode on the CPU and returns to 32-bit protected 2N/A mode. This function assumes the current execution mode is 64-paging mode. 2N/A This function is only available on x64. After the 64-bit paging mode is 2N/A disabled, control is transferred to the function specified by EntryPoint 2N/A using the new stack specified by NewStack and passing in the parameters 2N/A specified by Context1 and Context2. Context1 and Context2 are optional and 2N/A may be 0. The function EntryPoint must never return. 2N/A @param CodeSelector The 16-bit selector to load in the CS before EntryPoint 2N/A is called. The descriptor in the GDT that this selector 2N/A references must be setup for 32-bit protected mode. 2N/A @param EntryPoint The 64-bit virtual address of the function to call with 2N/A the new stack after paging is disabled. 2N/A @param Context1 The 64-bit virtual address of the context to pass into 2N/A the EntryPoint function as the first parameter after 2N/A @param Context2 The 64-bit virtual address of the context to pass into 2N/A the EntryPoint function as the second parameter after 2N/A @param NewStack The 64-bit virtual address of the new stack to use for 2N/A the EntryPoint function after paging is disabled. 2N/A // This function cannot work on IA32 platform