From 0377bc4b8a559d5d55112e04f79391e2a6977ac0 Mon Sep 17 00:00:00 2001 From: Chia-Che Tsai Date: Sat, 3 Nov 2018 09:54:30 -0700 Subject: [PATCH] [Linux/SGX/FreeBSD PAL] Remove unused macro SIGNAL_MASK_TIME --- Pal/src/host/FreeBSD/db_exception.c | 2 -- Pal/src/host/Linux-SGX/db_exception.c | 2 -- Pal/src/host/Linux/db_exception.c | 2 -- 3 files changed, 6 deletions(-) diff --git a/Pal/src/host/FreeBSD/db_exception.c b/Pal/src/host/FreeBSD/db_exception.c index 01f557b5..96b582da 100644 --- a/Pal/src/host/FreeBSD/db_exception.c +++ b/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" \ diff --git a/Pal/src/host/Linux-SGX/db_exception.c b/Pal/src/host/Linux-SGX/db_exception.c index eceff834..8f1092eb 100644 --- a/Pal/src/host/Linux-SGX/db_exception.c +++ b/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" \ diff --git a/Pal/src/host/Linux/db_exception.c b/Pal/src/host/Linux/db_exception.c index d114cdea..0c77cc57 100644 --- a/Pal/src/host/Linux/db_exception.c +++ b/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" \