|
@@ -1,6 +1,6 @@
|
|
|
;------------------------------------------------------------------------------
|
|
|
;
|
|
|
-; Copyright (c) 2019 - 2021, Intel Corporation. All rights reserved.<BR>
|
|
|
+; Copyright (c) 2019 - 2022, Intel Corporation. All rights reserved.<BR>
|
|
|
; SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
;
|
|
|
; Abstract:
|
|
@@ -9,30 +9,6 @@
|
|
|
;
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
|
|
-%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
|
|
|
-
|
|
|
-%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
|
|
|
-
|
|
|
; NASM provides built-in macros STRUC and ENDSTRUC for structure definition.
|
|
|
; For example, to define a structure called mytype containing a longword,
|
|
|
; a word, a byte and a string of bytes, you might code
|