GDB (xrefs)
Loading...
Searching...
No Matches
gdb
nat
x86-xstate.h
Go to the documentation of this file.
1
/* x86 XSAVE extended state functions.
2
3
Copyright (C) 2022-2023 Free Software Foundation, Inc.
4
5
This file is part of GDB.
6
7
This program is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 3 of the License, or
10
(at your option) any later version.
11
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20
#ifndef NAT_X86_XSTATE_H
21
#define NAT_X86_XSTATE_H
22
23
#include "gdbsupport/x86-xstate.h"
24
25
/* Return the size of the XSAVE extended state fetched via CPUID. */
26
27
int
x86_xsave_length
();
28
29
/* Return the layout (size and offsets) of the XSAVE extended regions
30
for the running host. Offsets of each of the enabled regions in
31
XCR0 are fetched via CPUID. */
32
33
x86_xsave_layout
x86_fetch_xsave_layout
(uint64_t xcr0,
int
len);
34
35
#endif
/* NAT_X86_XSTATE_H */
x86_fetch_xsave_layout
x86_xsave_layout x86_fetch_xsave_layout(uint64_t xcr0, int len)
Definition
x86-xstate.c:55
x86_xsave_length
int x86_xsave_length()
Definition
x86-xstate.c:43
Generated by
1.10.0