## @file # Supports X64 CPU operation for CMOS library # #****************************************************************************** #* Copyright (c) 2014, Insyde Software Corp. All Rights Reserved. #* #* You may not reproduce, distribute, publish, display, perform, modify, adapt, #* transmit, broadcast, present, recite, release, license or otherwise exploit #* any part of this publication in any form, by any means, without the prior #* written permission of Insyde Software Corporation. #* #****************************************************************************** # # This file contains 'Framework Code' and is licensed as such # under the terms of your license agreement with Intel or your # vendor. This file may not be modified, except as allowed by # additional terms of your license agreement. # # Copyright (c) 2006 Intel Corporation. All rights reserved # This software and associated documentation (if any) is furnished # under a license and may only be used or copied in accordance # with the terms of the license. Except as permitted by such # license, no part of this software or documentation may be # reproduced, stored in a retrieval system, or transmitted in any # form or by any means without the express written consent of # Intel Corporation. # #------------------------------------------------------------------------------ # VOID # CmosDisableInterrupt ( # ) #------------------------------------------------------------------------------ ASM_GLOBAL ASM_PFX(CmosDisableInterrupt); ASM_PFX(CmosDisableInterrupt): cli ret #------------------------------------------------------------------------------ # VOID # CmosEableInterrupt ( # ) #------------------------------------------------------------------------------ ASM_GLOBAL ASM_PFX(CmosEableInterrupt); ASM_PFX(CmosEableInterrupt): sti ret #------------------------------------------------------------------------------ # UINT16 # CmosGetCpuFlags ( # ) #------------------------------------------------------------------------------ ASM_GLOBAL ASM_PFX(CmosGetCpuFlags); ASM_PFX(CmosGetCpuFlags): pushfq popq %rax ret