[haiku-bugs] Re: [Haiku] #14711: [kernel] crashes by running Settlers game in DOSBox

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 16 Dec 2018 03:47:31 -0000

#14711: [kernel] crashes by running Settlers game in DOSBox
-----------------------------+----------------------------
   Reporter:  diver          |      Owner:  nobody
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:  14714          |   Blocking:
Has a Patch:  0              |   Platform:  x86
-----------------------------+----------------------------

Comment (by waddlesplash):

 int_bottom_user for 32-bit unconditionally disables interrupts and doesn't
 re-enable them:
 
http://xref.plausible.coop/source/xref/haiku/src/system/kernel/arch/x86/32/interrupts.S#553

 int_bottom_user for 64-bit never disables interrupts at all:
 
http://xref.plausible.coop/source/xref/haiku/src/system/kernel/arch/x86/64/interrupts.S#244

 So, it seems 32-bit int_bottom_user should just leave interrupts enabled,
 yes? Or is there something else I'm missing? The interrupt handler code is
 largely shared between 32-bit and 64-bit, so one of these is definitely a
 bug.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14711#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: