git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
chore: fix almost *ALL* warnings.
[lunaix-os.git]
/
lunaix-os
/
includes
/
hal
/
acpi
/
mcfg.h
1
#ifndef __LUNAIX_MCFG_H
2
#define __LUNAIX_MCFG_H
3
4
#include "sdt.h"
5
6
struct acpi_mcfg_alloc
7
{
8
u32_t base_addr_lo;
9
u32_t base_addr_hi;
10
u16_t pci_seg_num;
11
u8_t pci_bus_start;
12
u8_t pci_bus_end;
13
u32_t reserve;
14
} ACPI_TABLE_PACKED;
15
16
struct mcfg_alloc_info
17
{
18
u32_t base_addr;
19
u16_t pci_seg_num;
20
u8_t pci_bus_start;
21
u8_t pci_bus_end;
22
};
23
24
struct acpi_mcfg_toc
25
{
26
size_t alloc_num;
27
struct mcfg_alloc_info* allocations;
28
};
29
30
#endif /* __LUNAIX_MCFG_H */