From: Kruti Date: Fri, 3 May 2024 16:05:44 +0000 (-0700) Subject: Change to common header file not applicable to open-vm-tools. X-Git-Tag: stable-12.5.0~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffd52c7e4010098893a34c66b6d70b500d98711e;p=thirdparty%2Fopen-vm-tools.git Change to common header file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_defs.h b/open-vm-tools/lib/include/vm_basic_defs.h index cb77b46e8..2a7039c2d 100644 --- a/open-vm-tools/lib/include/vm_basic_defs.h +++ b/open-vm-tools/lib/include/vm_basic_defs.h @@ -467,6 +467,16 @@ Max(int a, int b) #endif #define QWORD(_hi, _lo) ((((uint64)(_hi)) << 32) | ((uint32)(_lo))) +#ifndef HIDWORD128 +#define HIDWORD128(_qw) ((uint64)((_qw) >> 64)) +#endif +#ifndef LODWORD128 +#define LODWORD128(_qw) ((uint64)(_qw)) +#endif +#ifndef QWORD128 +#define QWORD128(_hi, _lo) ((((uint128)(_hi)) << 64) | ((uint64)(_lo))) +#endif + /* * Deposit a field _src at _pos bits from the right,