Files
xen/tools/misc
Jan Beulich 6330e328ba tools/xen-detect: avoid possible pitfall with cpuid()
The 64-bit form forces %ecx to 0 while the 32-bit one so far didn't - it
only ended up that way when "pv_context" is zero. While presently no
leaf queried by callers has separate subleaves, let's avoid chancing it.

While there
- replace references to operands by number,
- relax constraints where possible,
- limit PUSH/POP to just the registers not also used as input,
all where applicable also for the 64-bit variant.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
2022-01-06 16:12:15 +01:00
..
2021-12-16 20:27:13 +00:00
2018-09-07 15:06:00 +01:00
2017-10-05 09:27:32 -04:00
2021-12-14 12:30:48 +00:00
2020-05-19 11:40:53 +01:00
2018-01-25 12:27:44 +01:00
2018-10-08 15:20:18 +01:00
2010-06-07 07:16:43 +01:00