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