include/asm-x86/vmi.h: checkpatch cleanups - formatting only
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
9e8a935bcf
commit
8948584eb2
@ -155,9 +155,9 @@
|
|||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
struct vmi_relocation_info {
|
struct vmi_relocation_info {
|
||||||
unsigned char *eip;
|
unsigned char *eip;
|
||||||
unsigned char type;
|
unsigned char type;
|
||||||
unsigned char reserved[3];
|
unsigned char reserved[3];
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -173,53 +173,53 @@ struct vmi_relocation_info {
|
|||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
struct vrom_header {
|
struct vrom_header {
|
||||||
u16 rom_signature; // option ROM signature
|
u16 rom_signature; /* option ROM signature */
|
||||||
u8 rom_length; // ROM length in 512 byte chunks
|
u8 rom_length; /* ROM length in 512 byte chunks */
|
||||||
u8 rom_entry[4]; // 16-bit code entry point
|
u8 rom_entry[4]; /* 16-bit code entry point */
|
||||||
u8 rom_pad0; // 4-byte align pad
|
u8 rom_pad0; /* 4-byte align pad */
|
||||||
u32 vrom_signature; // VROM identification signature
|
u32 vrom_signature; /* VROM identification signature */
|
||||||
u8 api_version_min;// Minor version of API
|
u8 api_version_min;/* Minor version of API */
|
||||||
u8 api_version_maj;// Major version of API
|
u8 api_version_maj;/* Major version of API */
|
||||||
u8 jump_slots; // Number of jump slots
|
u8 jump_slots; /* Number of jump slots */
|
||||||
u8 reserved1; // Reserved for expansion
|
u8 reserved1; /* Reserved for expansion */
|
||||||
u32 virtual_top; // Hypervisor virtual address start
|
u32 virtual_top; /* Hypervisor virtual address start */
|
||||||
u16 reserved2; // Reserved for expansion
|
u16 reserved2; /* Reserved for expansion */
|
||||||
u16 license_offs; // Offset to License string
|
u16 license_offs; /* Offset to License string */
|
||||||
u16 pci_header_offs;// Offset to PCI OPROM header
|
u16 pci_header_offs;/* Offset to PCI OPROM header */
|
||||||
u16 pnp_header_offs;// Offset to PnP OPROM header
|
u16 pnp_header_offs;/* Offset to PnP OPROM header */
|
||||||
u32 rom_pad3; // PnP reserverd / VMI reserved
|
u32 rom_pad3; /* PnP reserverd / VMI reserved */
|
||||||
u8 reserved[96]; // Reserved for headers
|
u8 reserved[96]; /* Reserved for headers */
|
||||||
char vmi_init[8]; // VMI_Init jump point
|
char vmi_init[8]; /* VMI_Init jump point */
|
||||||
char get_reloc[8]; // VMI_GetRelocationInfo jump point
|
char get_reloc[8]; /* VMI_GetRelocationInfo jump point */
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
struct pnp_header {
|
struct pnp_header {
|
||||||
char sig[4];
|
char sig[4];
|
||||||
char rev;
|
char rev;
|
||||||
char size;
|
char size;
|
||||||
short next;
|
short next;
|
||||||
short res;
|
short res;
|
||||||
long devID;
|
long devID;
|
||||||
unsigned short manufacturer_offset;
|
unsigned short manufacturer_offset;
|
||||||
unsigned short product_offset;
|
unsigned short product_offset;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
struct pci_header {
|
struct pci_header {
|
||||||
char sig[4];
|
char sig[4];
|
||||||
short vendorID;
|
short vendorID;
|
||||||
short deviceID;
|
short deviceID;
|
||||||
short vpdData;
|
short vpdData;
|
||||||
short size;
|
short size;
|
||||||
char rev;
|
char rev;
|
||||||
char class;
|
char class;
|
||||||
char subclass;
|
char subclass;
|
||||||
char interface;
|
char interface;
|
||||||
short chunks;
|
short chunks;
|
||||||
char rom_version_min;
|
char rom_version_min;
|
||||||
char rom_version_maj;
|
char rom_version_maj;
|
||||||
char codetype;
|
char codetype;
|
||||||
char lastRom;
|
char lastRom;
|
||||||
short reserved;
|
short reserved;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
/* Function prototypes for bootstrapping */
|
/* Function prototypes for bootstrapping */
|
||||||
|
Loading…
Reference in New Issue
Block a user