blob: b3d3e76f8d8f3857d7569705a38e2cd83337d29e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef BOOT_H
#define BOOT_H
#include <stdint.h>
enum {
BIS_PCI = 0x80
};
enum {
PHC_CS_M1 = 0x01,
PHC_CS_M2 = 0x02,
PHC_SC_M1 = 0x10,
PHC_SC_M2 = 0x20
};
#define BOOT_INFO \
((struct { \
uint8_t support_flags; \
uint8_t pci_hw_char; \
uint8_t pci_minor_bcd; \
uint8_t pci_major_bcd; \
uint8_t last_pci_bus; \
} __attribute__ ((__packed__)) *)0x4000)
#endif
|