mirror of
https://github.com/bitdefender/bddisasm.git
synced 2024-11-22 15:38:07 +00:00
e26971b4f0
On AMD, operand size is never forced to 64 bit - instead, it only defaults to 64 bit, which means that 0x66 can be used to encode 16 bit version of the instructions.
25 lines
380 B
C
25 lines
380 B
C
/*
|
|
* Copyright (c) 2020 Bitdefender
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef DISASM_TYPES_H
|
|
#define DISASM_TYPES_H
|
|
|
|
#if defined(KERNEL_MODE) && defined(_MSC_VER)
|
|
# include <ntddk.h>
|
|
# include <Ntstrsafe.h>
|
|
|
|
#elif defined(__KERNEL__) && defined(__GNUC__)
|
|
|
|
# include <linux/types.h>
|
|
|
|
#else
|
|
|
|
# include <stddef.h>
|
|
# include <stdint.h>
|
|
# include <stdbool.h>
|
|
|
|
#endif
|
|
|
|
#endif
|