blob: 9774573ce635659c73d0615fc9b5f397619c9a3e (
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
27
|
#ifndef BOOT_H
#define BOOT_H
#include <stdint.h>
enum {
BIS_PCI = 0x80,
BIS_PAE = 0x40
};
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
|