[haiku-bugs] Re: [Haiku] #7502: [kernel] implement user Local Descriptor Table

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 18 Jun 2020 21:51:20 -0000

#7502: [kernel] implement user Local Descriptor Table
----------------------------+--------------------------------------------
  Reporter:  diver          |      Owner:  nobody
      Type:  bug            |     Status:  assigned
  Priority:  normal         |  Milestone:  R1
 Component:  System/Kernel  |    Version:  R1/Development
Resolution:                 |   Keywords:  kernel crash matroska LDT wine
Blocked By:                 |   Blocking:  7585
  Platform:  All            |
----------------------------+--------------------------------------------
Comment (by X512):

 Both 32 and 64 bit Wine versions requires LDT support. NtCurrentTeb
 (returns [https://en.wikipedia.org/wiki/Win32_Thread_Information_Block
 TIB] that is used for thread specific data) use FS register for 32 bits
 and GS register for 64 bits. Code is inlined so changing storage method is
 not possible. I tried to build 64 bit Wine by stubbing LDT code and it
 crashes at start.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/7502#comment:16>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: