Displaying 1 result from an estimated 1 matches for "declare_init_semaphore".
2017 Mar 19
1
[PATCH] pxe: Never chain to the original ISR
...xe.h | 1 -
core/pxeisr.inc | 17 ++++++-----------
3 files changed, 9 insertions(+), 14 deletions(-)
diff --git a/core/fs/pxe/isr.c b/core/fs/pxe/isr.c
index 7da0cc7..e14b953 100644
--- a/core/fs/pxe/isr.c
+++ b/core/fs/pxe/isr.c
@@ -17,6 +17,7 @@ extern volatile uint8_t pxe_need_poll;
static DECLARE_INIT_SEMAPHORE(pxe_receive_thread_sem, 0);
static DECLARE_INIT_SEMAPHORE(pxe_poll_thread_sem, 0);
static struct thread *pxe_thread, *poll_thread;
+static far_ptr_t old_pxe_isr;
#ifndef PXE_POLL_FORCE
# define PXE_POLL_FORCE 0
@@ -252,7 +253,7 @@ void pxe_start_isr(void)
pxe_irq_vector = irq;
if...