Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/s390/include/asm/cpu.h
10819 views
1
/*
2
* Copyright IBM Corp. 2000,2009
3
* Author(s): Hartmut Penner <[email protected]>,
4
* Martin Schwidefsky <[email protected]>,
5
* Christian Ehrhardt <[email protected]>,
6
*/
7
8
#ifndef _ASM_S390_CPU_H
9
#define _ASM_S390_CPU_H
10
11
#define MAX_CPU_ADDRESS 255
12
13
#ifndef __ASSEMBLY__
14
15
#include <linux/types.h>
16
17
struct cpuid
18
{
19
unsigned int version : 8;
20
unsigned int ident : 24;
21
unsigned int machine : 16;
22
unsigned int unused : 16;
23
} __attribute__ ((packed, aligned(8)));
24
25
#endif /* __ASSEMBLY__ */
26
#endif /* _ASM_S390_CPU_H */
27
28