mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:07:46 +00:00
Kernel: Initialize regs.fs in Processor::init_context
Commit f285241c
replaced the line that sets regs.fs with a line that
sets regs.gs, but not vice versa.
This commit is contained in:
parent
b220b45c5e
commit
60362ef401
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ FlatPtr Processor::init_context(Thread& thread, bool leave_crit)
|
|||
regs.cs = GDT_SELECTOR_CODE0;
|
||||
regs.ds = GDT_SELECTOR_DATA0;
|
||||
regs.es = GDT_SELECTOR_DATA0;
|
||||
regs.gs = GDT_SELECTOR_DATA0;
|
||||
regs.fs = GDT_SELECTOR_DATA0;
|
||||
regs.ss = GDT_SELECTOR_DATA0;
|
||||
regs.gs = GDT_SELECTOR_PROC;
|
||||
return stack_top;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue