1 ;------------------------------------------------------------------------------ ;
2 ; Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
3 ; SPDX-License-Identifier: BSD-2-Clause-Patent
5 ;-------------------------------------------------------------------------------
12 global ASM_PFX(DisableCet)
15 ; Skip the pushed data for call
20 btr eax, 23 ; clear CET
24 global ASM_PFX(EnableCet)
31 ; use jmp to skip the check for ret