libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::x86::Tss Class Referencefinal

x86 Task State Segment More...

#include <Tss.hh>

Public Member Functions

guest_ptr< void > sp0 () const
 Get the E/RSP0 (kernel stack) value from the TSS.
 
 Tss (const Vcpu &vcpu)
 Construct a new Tss object.
 
 ~Tss ()
 Destroy the instance.
 

Detailed Description

x86 Task State Segment

Constructor & Destructor Documentation

◆ Tss()

introvirt::x86::Tss::Tss ( const Vcpu vcpu)

Construct a new Tss object.

Parameters
vcpuThe Vcpu to read the task register from

◆ ~Tss()

introvirt::x86::Tss::~Tss ( )

Destroy the instance.

Member Function Documentation

◆ sp0()

guest_ptr< void > introvirt::x86::Tss::sp0 ( ) const

Get the E/RSP0 (kernel stack) value from the TSS.

Returns either ESP0 (32-bit) or RSP0 (64-bit) from the Task State Segment.

Returns
the esp0 or rsp0 task state segment value

The documentation for this class was generated from the following file: