Function fortanix_sgx_abi::entry::library::entry [−][src]
pub fn entry(
p1: u64,
p2: u64,
p3: u64,
_ignore: u64,
p4: u64,
p5: u64
) -> (u64, u64)
Expand description
The entry point of every TCS.
If a library wishes to expose multiple different functions, it must
implement this by multiplexing on one of the input parameters. It
is recommended to use p1
for this purpose.
The _ignore
parameter may be set to any value by userspace. The
value observed by the enclave may be different from the value
passed by userspace and must therefore be ignored by the enclave.