GDBserver
Loading...
Searching...
No Matches
Functions
x86-xstate.c File Reference
#include "gdbsupport/common-defs.h"
#include "gdbsupport/x86-xstate.h"
#include "nat/x86-cpuid.h"
#include "nat/x86-xstate.h"

Go to the source code of this file.

Functions

static int xsave_feature_offset (uint64_t xcr0, int feature)
 
int x86_xsave_length ()
 
x86_xsave_layout x86_fetch_xsave_layout (uint64_t xcr0, int len)
 

Function Documentation

◆ x86_fetch_xsave_layout()

x86_xsave_layout x86_fetch_xsave_layout ( uint64_t xcr0,
int len )

Definition at line 55 of file x86-xstate.c.

References xsave_feature_offset().

◆ x86_xsave_length()

int x86_xsave_length ( )

Definition at line 43 of file x86-xstate.c.

References x86_cpuid_count().

◆ xsave_feature_offset()

static int xsave_feature_offset ( uint64_t xcr0,
int feature )
static

Definition at line 28 of file x86-xstate.c.

References x86_cpuid_count().

Referenced by x86_fetch_xsave_layout().