Re: [PATCH v3 03/21] x86/virt/tdx: Implement the SEAMCALL base function
From: Sathyanarayanan Kuppuswamy
Date: Tue Apr 19 2022 - 10:07:57 EST
On 4/5/22 9:49 PM, Kai Huang wrote:
SEAMCALL leaf functions use an ABI different from the x86-64 system-v
ABI. Instead, they share the same ABI with the TDCALL leaf functions.
TDCALL is a new term for this patch set. Maybe add some detail about
it in ()?.
%rax is used to carry both the SEAMCALL leaf function number (input) and
the completion status code (output). Additional GPRs (%rcx, %rdx,
%r8->%r11) may be further used as both input and output operands in
individual leaf functions.
--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer