AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
x86_thread Struct Reference

A thread's x86 state: its kernel stack, and where it resumes. More...

#include <arch.h>

Data Fields

uintptr_t kstack
uintptr_t kstack_base
uintptr_t rip
uintptr_t rsp
uintptr_t rbp
uintptr_t rflags
uintptr_t rax
struct x86_regs * regs
void * fpu_context
int fpu_enabled

Detailed Description

A thread's x86 state: its kernel stack, and where it resumes.

Definition at line 16 of file arch.h.

Field Documentation

◆ fpu_context

void* x86_thread::fpu_context

◆ fpu_enabled

int x86_thread::fpu_enabled

◆ kstack

◆ kstack_base

uintptr_t x86_thread::kstack_base

◆ rax

uintptr_t x86_thread::rax

Definition at line 31 of file arch.h.

Referenced by arch_syscall_return(), and thread_spawn().

◆ rbp

uintptr_t x86_thread::rbp

Definition at line 29 of file arch.h.

Referenced by arch_kthread_create(), arch_thread_switch(), and x86_thread_saved().

◆ regs

struct x86_regs* x86_thread::regs

Definition at line 34 of file arch.h.

Referenced by __x86_isr(), arch_proc_fork(), arch_sigreturn(), arch_syscall_return(), and isr_dispatch().

◆ rflags

uintptr_t x86_thread::rflags

◆ rip

◆ rsp


The documentation for this struct was generated from the following file:
  • kernel/arch/i386/include/core/arch.h