mirror of
https://github.com/intel/linux-sgx
synced 2026-06-08 14:49:32 +00:00
Linux 2.1.2 Open Source Gold Release
Signed-off-by: Li, Xun <xun.li@intel.com>
This commit is contained in:
@@ -104,14 +104,6 @@ void edger8r_pointer_attributes(void)
|
||||
for (int i = 0; i < 10; i++)
|
||||
assert(arr[i] == (9 - i));
|
||||
|
||||
memset(arr, 0x0, sizeof(arr));
|
||||
ret = ecall_pointer_sizefunc(global_eid, (char *)arr);
|
||||
if (ret != SGX_SUCCESS)
|
||||
abort();
|
||||
|
||||
for (int i = 0; i < 10; i++)
|
||||
assert(arr[i] == i);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user