mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
Kernel: Remove unused Processor::set_thread_specific()
This commit is contained in:
parent
a0f4e50bef
commit
8706ccfadd
2 changed files with 0 additions and 9 deletions
|
@ -2238,13 +2238,6 @@ UNMAP_AFTER_INIT void Processor::gdt_init()
|
||||||
// clang-format on
|
// clang-format on
|
||||||
}
|
}
|
||||||
|
|
||||||
void Processor::set_thread_specific(u8* data, size_t len)
|
|
||||||
{
|
|
||||||
auto& descriptor = get_gdt_entry(GDT_SELECTOR_TLS);
|
|
||||||
descriptor.set_base(data);
|
|
||||||
descriptor.set_limit(len);
|
|
||||||
}
|
|
||||||
|
|
||||||
void copy_kernel_registers_into_ptrace_registers(PtraceRegisters& ptrace_regs, const RegisterState& kernel_regs)
|
void copy_kernel_registers_into_ptrace_registers(PtraceRegisters& ptrace_regs, const RegisterState& kernel_regs)
|
||||||
{
|
{
|
||||||
ptrace_regs.eax = kernel_regs.eax,
|
ptrace_regs.eax = kernel_regs.eax,
|
||||||
|
|
|
@ -1002,8 +1002,6 @@ public:
|
||||||
u32 init_context(Thread& thread, bool leave_crit);
|
u32 init_context(Thread& thread, bool leave_crit);
|
||||||
static Vector<FlatPtr> capture_stack_trace(Thread& thread, size_t max_frames = 0);
|
static Vector<FlatPtr> capture_stack_trace(Thread& thread, size_t max_frames = 0);
|
||||||
|
|
||||||
void set_thread_specific(u8* data, size_t len);
|
|
||||||
|
|
||||||
String platform_string() const;
|
String platform_string() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue