mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:47:35 +00:00
UserspaceEmulator: Initialize the FS segment on startup
Set it to 0x23, matching the initial value in a native process.
This commit is contained in:
parent
b159bdd4fd
commit
fba91a4307
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ SoftCPU::SoftCPU(Emulator& emulator)
|
|||
m_segment[(int)X86::SegmentRegister::DS] = 0x23;
|
||||
m_segment[(int)X86::SegmentRegister::ES] = 0x23;
|
||||
m_segment[(int)X86::SegmentRegister::SS] = 0x23;
|
||||
m_segment[(int)X86::SegmentRegister::FS] = 0x23;
|
||||
m_segment[(int)X86::SegmentRegister::GS] = 0x2b;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue