2019-02-22 14:30:33 +01:00
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
;
|
|
|
|
; Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:06:00 +02:00
|
|
|
; SPDX-License-Identifier: BSD-2-Clause-Patent
|
2019-02-22 14:30:33 +01:00
|
|
|
;
|
|
|
|
; Abstract:
|
|
|
|
;
|
|
|
|
; This file provides macro definitions for NASM files.
|
|
|
|
;
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
|
2021-01-26 09:54:15 +01:00
|
|
|
%macro SAVEPREVSSP 0
|
|
|
|
DB 0xF3, 0x0F, 0x01, 0xEA
|
|
|
|
%endmacro
|
|
|
|
|
|
|
|
%macro CLRSSBSY_EAX 0
|
|
|
|
DB 0x67, 0xF3, 0x0F, 0xAE, 0x30
|
|
|
|
%endmacro
|
|
|
|
|
|
|
|
%macro RSTORSSP_EAX 0
|
|
|
|
DB 0x67, 0xF3, 0x0F, 0x01, 0x28
|
|
|
|
%endmacro
|
|
|
|
|
2019-02-22 14:30:33 +01:00
|
|
|
%macro SETSSBSY 0
|
|
|
|
DB 0xF3, 0x0F, 0x01, 0xE8
|
|
|
|
%endmacro
|
|
|
|
|
|
|
|
%macro READSSP_EAX 0
|
|
|
|
DB 0xF3, 0x0F, 0x1E, 0xC8
|
|
|
|
%endmacro
|
|
|
|
|
|
|
|
%macro INCSSP_EAX 0
|
|
|
|
DB 0xF3, 0x0F, 0xAE, 0xE8
|
|
|
|
%endmacro
|