WriteCr2.asm revision 4fd606d1f5abe38e1f42c38de1d2e895166bd0f4
2N/A;------------------------------------------------------------------------------
2N/A;
2N/A; Copyright (c) 2006, 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; http://opensource.org/licenses/bsd-license.php.
2N/A;
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;
2N/A; Module Name:
2N/A;
2N/A; WriteCr2.Asm
2N/A;
2N/A; Abstract:
2N/A;
2N/A; AsmWriteCr2 function
2N/A;
2N/A; Notes:
2N/A;
2N/A;------------------------------------------------------------------------------
2N/A
2N/A .386p
2N/A .model flat,C
2N/A .code
2N/A
2N/A;------------------------------------------------------------------------------
2N/A; UINTN
2N/A; EFIAPI
2N/A; AsmWriteCr2 (
2N/A; UINTN Cr2
2N/A; );
2N/A;------------------------------------------------------------------------------
2N/AAsmWriteCr2 PROC
2N/A mov eax, [esp + 4]
2N/A mov cr2, eax
2N/A ret
2N/AAsmWriteCr2 ENDP
2N/A
2N/A END
2N/A