Tags: intel/sgx-emm
Tags
bug fix for issue #13 1. fix incorrect argument in a function call 2. fix potential infinite loop 3. fix a bug in 'remove_from_list': 'remove_from_list' failed to deal with singly linked case when the block to be removed was not at the list head. Signed-off-by: xxu36 <[email protected]>
Specify initial reserve size for emalloc initialization function Intel SGX SDK needs memory to bookkeeping the RTS nodes. To make it easy and precise to calculate the required memory size, it's better to reserve that amount of memory all at once rather than on demand. Memory reservation logic is now removed from the sg_mm_init and placed at the function emalloc_init_with_reserved_mem, which is called by SGX SDK to explicitly specify the required memory size. Signed-off-by: xxu36 <[email protected]>
Revert "using memcpy instead of struct assignment" When working with SGX SGK, there was an issue caused by extended register corruption. struct assignment gave the compiler an oppotunity to use XMM register for optimization therefore triggered the issue. But this was not the root cause and this patch just reverted the change. Signed-off-by: xxu36 <[email protected]>
EMA: use a temporary node on stack for each new node (#6) * Update README for kernel 6.0 release and fix minor issues. Signed-off-by: Haitao Huang <[email protected]>