Zebediah Figura : krnl386: Remove the unused relay stub which enables interrupts.

Alexandre Julliard julliard at winehq.org
Tue Aug 3 16:52:22 CDT 2021


Module: wine
Branch: master
Commit: 9ea5d41cd153c45fe6ea7fc1e37bc62c9d3db1ca
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9ea5d41cd153c45fe6ea7fc1e37bc62c9d3db1ca

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Mon Aug  2 19:26:12 2021 -0500

krnl386: Remove the unused relay stub which enables interrupts.

This was used by DOS IRQ handling, removed in
5ec544959632d63ad50175885503cc78f6ed6c58.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/krnl386.exe16/dosmem.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/krnl386.exe16/dosmem.c b/dlls/krnl386.exe16/dosmem.c
index d847bdbb8f3..36b02aec484 100644
--- a/dlls/krnl386.exe16/dosmem.c
+++ b/dlls/krnl386.exe16/dosmem.c
@@ -307,7 +307,6 @@ static void DOSMEM_InitSegments(void)
     {
         0xca, 0x04, 0x00, /* 16-bit far return and pop 4 bytes (relay void* arg) */
         0xcd, 0x31,       /* int 31 */
-        0xfb, 0x66, 0xcb  /* sti and 32-bit far return */
     };
 
     /*
@@ -332,7 +331,6 @@ static void DOSMEM_InitSegments(void)
     /*
      * PM / offset 0: Stub where __wine_call_from_16_regs returns.
      * PM / offset 3: Stub which swaps back to 32-bit application code/stack.
-     * PM / offset 5: Stub which enables interrupts
      */
     relay_code_sel = GLOBAL_Alloc( GMEM_FIXED, sizeof(relay), 0, LDT_FLAGS_CODE );
     ptr = GlobalLock16( relay_code_sel );




More information about the wine-cvs mailing list