Browse Source

fix a typo

Chia-Che Tsai 7 years ago
parent
commit
547f1ed042
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Pal/src/host/Linux-SGX/enclave_entry.S

+ 1 - 1
Pal/src/host/Linux-SGX/enclave_entry.S

@@ -54,7 +54,7 @@ enclave_entry:
 	# push untructed stack address to RCX
 	mov %rsp, %rcx
 
-	# switch to the enclve stack: R8 + %gs:SGX_INITIAL_STACK_OFFSET
+	# switch to enclve stack: enclave base + %gs:SGX_INITIAL_STACK_OFFSET
 	add %gs:SGX_INITIAL_STACK_OFFSET, %rbx
 	mov %rbx, %rsp