D | msr.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include "msr-index.h" 38 * both i386 and x86_64 returns 64-bit value in edx:eax, but gcc's "A" 44 /* Using 64-bit values saves one instruction clearing the high half of low */ 45 #define DECLARE_ARGS(val, low, high) unsigned long low, high argument 46 #define EAX_EDX_VAL(val, low, high) ((low) | (high) << 32) argument 47 #define EAX_EDX_RET(val, low, high) "=a" (low), "=d" (high) argument 49 #define DECLARE_ARGS(val, low, high) unsigned long long val argument 50 #define EAX_EDX_VAL(val, low, high) (val) argument 51 #define EAX_EDX_RET(val, low, high) "=A" (val) argument [all …]
|