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