Browse Source

[Linux/SGX/FreeBSD PAL] Remove unused macro SIGNAL_MASK_TIME

Chia-Che Tsai 5 years ago
parent
commit
0377bc4b8a

+ 0 - 2
Pal/src/host/FreeBSD/db_exception.c

@@ -206,8 +206,6 @@ struct exception_handler * pal_handlers [PAL_EVENT_NUM_BOUND] = {
         &handler_Failure,
     };
 
-#define SIGNAL_MASK_TIME 1000
-
 #define save_return_point(ptr)                      \
     asm volatile ("leaq 0(%%rip), %%rax\r\n"        \
                   "movq %%rax, %0\r\n"              \

+ 0 - 2
Pal/src/host/Linux-SGX/db_exception.c

@@ -45,8 +45,6 @@ typedef struct exception_event {
     struct pal_frame *  frame;
 } PAL_EVENT;
 
-#define SIGNAL_MASK_TIME 1000
-
 #define save_return_point(ptr)                      \
     asm volatile ("leaq 0(%%rip), %%rax\r\n"        \
                   "movq %%rax, %0\r\n"              \

+ 0 - 2
Pal/src/host/Linux/db_exception.c

@@ -117,8 +117,6 @@ typedef struct {
     PAL_PTR         eframe;
 } PAL_EVENT;
 
-#define SIGNAL_MASK_TIME 1000
-
 #define save_return_point(ptr)                      \
     asm volatile ("leaq 0(%%rip), %%rax\r\n"        \
                   "movq %%rax, %0\r\n"              \