We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db51895 commit fce0c49Copy full SHA for fce0c49
std/src/sys/sgx/ext/arch.rs
@@ -33,9 +33,9 @@ pub fn egetkey(request: &Align512<[u8; 512]>) -> Result<Align16<[u8; 16]>, u32>
33
34
asm!(
35
// rbx is reserved by LLVM
36
- "xchg {}, rbx",
+ "xchg {0}, rbx",
37
"enclu",
38
- "mov rbx, {}",
+ "mov rbx, {0}",
39
inout(reg) request => _,
40
inlateout("eax") ENCLU_EGETKEY => error,
41
in("rcx") out.as_mut_ptr(),
@@ -64,9 +64,9 @@ pub fn ereport(
64
65
66
67
68
69
70
inout(reg) targetinfo => _,
71
in("eax") ENCLU_EREPORT,
72
in("rcx") reportdata,
0 commit comments