diff options
author | Joe Perches <joe@perches.com> | 2008-03-23 04:03:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:28 -0400 |
commit | 8948584eb282c4dc5c54f6f6ebbaf447a665c653 (patch) | |
tree | b04dbf368ca1a9e54ded99992270985e978bb32f /include/asm-x86/vmi.h | |
parent | 9e8a935bcff6c8154eace12277e6a9d853ef790b (diff) |
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>
Diffstat (limited to 'include/asm-x86/vmi.h')
-rw-r--r-- | include/asm-x86/vmi.h | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/include/asm-x86/vmi.h b/include/asm-x86/vmi.h index eb8bd892c01e..b7c0dea119fe 100644 --- a/include/asm-x86/vmi.h +++ b/include/asm-x86/vmi.h | |||
@@ -155,9 +155,9 @@ | |||
155 | 155 | ||
156 | #ifndef __ASSEMBLY__ | 156 | #ifndef __ASSEMBLY__ |
157 | struct vmi_relocation_info { | 157 | struct vmi_relocation_info { |
158 | unsigned char *eip; | 158 | unsigned char *eip; |
159 | unsigned char type; | 159 | unsigned char type; |
160 | unsigned char reserved[3]; | 160 | unsigned char reserved[3]; |
161 | }; | 161 | }; |
162 | #endif | 162 | #endif |
163 | 163 | ||
@@ -173,53 +173,53 @@ struct vmi_relocation_info { | |||
173 | #ifndef __ASSEMBLY__ | 173 | #ifndef __ASSEMBLY__ |
174 | 174 | ||
175 | struct vrom_header { | 175 | struct vrom_header { |
176 | u16 rom_signature; // option ROM signature | 176 | u16 rom_signature; /* option ROM signature */ |
177 | u8 rom_length; // ROM length in 512 byte chunks | 177 | u8 rom_length; /* ROM length in 512 byte chunks */ |
178 | u8 rom_entry[4]; // 16-bit code entry point | 178 | u8 rom_entry[4]; /* 16-bit code entry point */ |
179 | u8 rom_pad0; // 4-byte align pad | 179 | u8 rom_pad0; /* 4-byte align pad */ |
180 | u32 vrom_signature; // VROM identification signature | 180 | u32 vrom_signature; /* VROM identification signature */ |
181 | u8 api_version_min;// Minor version of API | 181 | u8 api_version_min;/* Minor version of API */ |
182 | u8 api_version_maj;// Major version of API | 182 | u8 api_version_maj;/* Major version of API */ |
183 | u8 jump_slots; // Number of jump slots | 183 | u8 jump_slots; /* Number of jump slots */ |
184 | u8 reserved1; // Reserved for expansion | 184 | u8 reserved1; /* Reserved for expansion */ |
185 | u32 virtual_top; // Hypervisor virtual address start | 185 | u32 virtual_top; /* Hypervisor virtual address start */ |
186 | u16 reserved2; // Reserved for expansion | 186 | u16 reserved2; /* Reserved for expansion */ |
187 | u16 license_offs; // Offset to License string | 187 | u16 license_offs; /* Offset to License string */ |
188 | u16 pci_header_offs;// Offset to PCI OPROM header | 188 | u16 pci_header_offs;/* Offset to PCI OPROM header */ |
189 | u16 pnp_header_offs;// Offset to PnP OPROM header | 189 | u16 pnp_header_offs;/* Offset to PnP OPROM header */ |
190 | u32 rom_pad3; // PnP reserverd / VMI reserved | 190 | u32 rom_pad3; /* PnP reserverd / VMI reserved */ |
191 | u8 reserved[96]; // Reserved for headers | 191 | u8 reserved[96]; /* Reserved for headers */ |
192 | char vmi_init[8]; // VMI_Init jump point | 192 | char vmi_init[8]; /* VMI_Init jump point */ |
193 | char get_reloc[8]; // VMI_GetRelocationInfo jump point | 193 | char get_reloc[8]; /* VMI_GetRelocationInfo jump point */ |
194 | } __attribute__((packed)); | 194 | } __attribute__((packed)); |
195 | 195 | ||
196 | struct pnp_header { | 196 | struct pnp_header { |
197 | char sig[4]; | 197 | char sig[4]; |
198 | char rev; | 198 | char rev; |
199 | char size; | 199 | char size; |
200 | short next; | 200 | short next; |
201 | short res; | 201 | short res; |
202 | long devID; | 202 | long devID; |
203 | unsigned short manufacturer_offset; | 203 | unsigned short manufacturer_offset; |
204 | unsigned short product_offset; | 204 | unsigned short product_offset; |
205 | } __attribute__((packed)); | 205 | } __attribute__((packed)); |
206 | 206 | ||
207 | struct pci_header { | 207 | struct pci_header { |
208 | char sig[4]; | 208 | char sig[4]; |
209 | short vendorID; | 209 | short vendorID; |
210 | short deviceID; | 210 | short deviceID; |
211 | short vpdData; | 211 | short vpdData; |
212 | short size; | 212 | short size; |
213 | char rev; | 213 | char rev; |
214 | char class; | 214 | char class; |
215 | char subclass; | 215 | char subclass; |
216 | char interface; | 216 | char interface; |
217 | short chunks; | 217 | short chunks; |
218 | char rom_version_min; | 218 | char rom_version_min; |
219 | char rom_version_maj; | 219 | char rom_version_maj; |
220 | char codetype; | 220 | char codetype; |
221 | char lastRom; | 221 | char lastRom; |
222 | short reserved; | 222 | short reserved; |
223 | } __attribute__((packed)); | 223 | } __attribute__((packed)); |
224 | 224 | ||
225 | /* Function prototypes for bootstrapping */ | 225 | /* Function prototypes for bootstrapping */ |