Last change
on this file since 23119 was 23119, checked in by vboxsync, 15 years ago |
re-export EFI
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.4 KB
|
Line | |
---|
1 | /** @file
|
---|
2 | Support for EFI PCI specification.
|
---|
3 |
|
---|
4 | Copyright (c) 2006 - 2008, Intel Corporation All rights reserved.
|
---|
5 |
|
---|
6 | This program and the accompanying materials are licensed and made available
|
---|
7 | under the terms and conditions of the BSD License which accompanies this
|
---|
8 | distribution. The full text of the license may be found at:
|
---|
9 | http://opensource.org/licenses/bsd-license.php
|
---|
10 |
|
---|
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
12 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
13 |
|
---|
14 | File Name: EfiPci.h
|
---|
15 |
|
---|
16 | **/
|
---|
17 |
|
---|
18 | #ifndef _EFI_PCI_H_
|
---|
19 | #define _EFI_PCI_H_
|
---|
20 |
|
---|
21 | //#include "pci22.h"
|
---|
22 | //#include "pci23.h"
|
---|
23 | //#include "pci30.h"
|
---|
24 |
|
---|
25 | #pragma pack(push, 1)
|
---|
26 |
|
---|
27 | typedef struct {
|
---|
28 | UINT8 Register;
|
---|
29 | UINT8 Function;
|
---|
30 | UINT8 Device;
|
---|
31 | UINT8 Bus;
|
---|
32 | UINT8 Reserved[4];
|
---|
33 | } DEFIO_PCI_ADDR;
|
---|
34 |
|
---|
35 | #define EFI_ROOT_BRIDGE_LIST 'eprb'
|
---|
36 | #define EFI_PCI_EXPANSION_ROM_HEADER_EFISIGNATURE 0x0EF1
|
---|
37 |
|
---|
38 | typedef struct {
|
---|
39 | UINT16 Signature; // 0xaa55
|
---|
40 | UINT16 InitializationSize;
|
---|
41 | UINT32 EfiSignature; // 0x0EF1
|
---|
42 | UINT16 EfiSubsystem;
|
---|
43 | UINT16 EfiMachineType;
|
---|
44 | UINT16 CompressionType;
|
---|
45 | UINT8 Reserved[8];
|
---|
46 | UINT16 EfiImageHeaderOffset;
|
---|
47 | UINT16 PcirOffset;
|
---|
48 | } EFI_PCI_EXPANSION_ROM_HEADER;
|
---|
49 |
|
---|
50 | typedef union {
|
---|
51 | UINT8 *Raw;
|
---|
52 | PCI_EXPANSION_ROM_HEADER *Generic;
|
---|
53 | EFI_PCI_EXPANSION_ROM_HEADER *Efi;
|
---|
54 | EFI_LEGACY_EXPANSION_ROM_HEADER *PcAt;
|
---|
55 | } EFI_PCI_ROM_HEADER;
|
---|
56 |
|
---|
57 | #pragma pack(pop)
|
---|
58 |
|
---|
59 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.