|
@@ -18,8 +18,6 @@
|
|
|
#include <sysdep.h>
|
|
|
#include <sysdeps/generic/ldsodefs.h>
|
|
|
|
|
|
-#define ENCLAVE_FILENAME RUNTIME_FILE("libpal-Linux-SGX.so")
|
|
|
-
|
|
|
unsigned long pagesize = PRESET_PAGESIZE;
|
|
|
unsigned long pagemask = ~(PRESET_PAGESIZE - 1);
|
|
|
unsigned long pageshift = PRESET_PAGESIZE - 1;
|
|
@@ -467,8 +465,6 @@ int initialize_enclave (struct pal_enclave * enclave)
|
|
|
|
|
|
struct pal_sec * pal_sec = &enclave->pal_sec;
|
|
|
|
|
|
- pal_sec->enclave_addr = (PAL_PTR) (enclave_secs.baseaddr + pal_area->addr);
|
|
|
-
|
|
|
pal_sec->heap_min = (void *) enclave_secs.baseaddr + heap_min;
|
|
|
pal_sec->heap_max = (void *) enclave_secs.baseaddr + pal_area->addr - MEMORY_GAP;
|
|
|
|
|
@@ -771,9 +767,6 @@ static int load_enclave (struct pal_enclave * enclave,
|
|
|
if (ret < 0)
|
|
|
return ret;
|
|
|
|
|
|
- snprintf(pal_sec->enclave_image, sizeof(PAL_SEC_STR), "%s",
|
|
|
- ENCLAVE_FILENAME);
|
|
|
-
|
|
|
if (!pal_sec->instance_id)
|
|
|
create_instance(&enclave->pal_sec);
|
|
|
|