mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-19 01:51:32 +00:00
* global: patch created by running: for f in $(git ls-files '*.[ch]') ; do cppi $f > $f.t && mv $f.t $f done
48 lines
1.3 KiB
C
48 lines
1.3 KiB
C
/*
|
|
* cpu_x86_data.h: x86 specific CPU data
|
|
*
|
|
* Copyright (C) 2009-2010 Red Hat, Inc.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*
|
|
* Authors:
|
|
* Jiri Denemark <jdenemar@redhat.com>
|
|
*/
|
|
|
|
#ifndef __VIR_CPU_X86_DATA_H__
|
|
# define __VIR_CPU_X86_DATA_H__
|
|
|
|
# include <stdint.h>
|
|
|
|
struct cpuX86cpuid {
|
|
uint32_t function;
|
|
uint32_t eax;
|
|
uint32_t ebx;
|
|
uint32_t ecx;
|
|
uint32_t edx;
|
|
};
|
|
|
|
# define CPUX86_BASIC 0x0
|
|
# define CPUX86_EXTENDED 0x80000000
|
|
|
|
struct cpuX86Data {
|
|
int basic_len;
|
|
struct cpuX86cpuid *basic;
|
|
int extended_len;
|
|
struct cpuX86cpuid *extended;
|
|
};
|
|
|
|
#endif /* __VIR_CPU_X86_DATA_H__ */
|