mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +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
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/AMACB 🔰
Commit: 60362ef401
Pull-request: https://github.com/SerenityOS/serenity/pull/10811
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