We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TCS
1 parent 4bbac95 commit 96023c2Copy full SHA for 96023c2
intel-sgx/fortanix-sgx-abi/src/lib.rs
@@ -441,6 +441,9 @@ impl Usercalls {
441
}
442
443
/// The absolute address of a TCS in the current enclave.
444
+///
445
+/// To ensure a TCS struct will never be located at address 0, a TCS struct should not be located
446
+/// at the beginning of an enclave.
447
// FIXME: `u8` should be some `extern type` instead.
448
#[cfg_attr(feature = "rustc-dep-of-std", unstable(feature = "sgx_platform", issue = "56975"))]
449
pub type Tcs = NonNull<u8>;
0 commit comments