Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/pci/pci_bus.c
Context not available. | |||||
SYSCTL_ULONG(_hw_pci, OID_AUTO, host_mem_start, CTLFLAG_RDTUN, &host_mem_start, | SYSCTL_ULONG(_hw_pci, OID_AUTO, host_mem_start, CTLFLAG_RDTUN, &host_mem_start, | ||||
0, "Limit the host bridge memory to being above this address."); | 0, "Limit the host bridge memory to being above this address."); | ||||
u_long | rman_res_t | ||||
hostb_alloc_start(int type, u_long start, u_long end, u_long count) | hostb_alloc_start(int type, rman_res_t start, rman_res_t end, rman_res_t count) | ||||
{ | { | ||||
if (start + count - 1 != end) { | if (start + count - 1 != end) { | ||||
Context not available. | |||||
struct resource * | struct resource * | ||||
legacy_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, | legacy_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, | ||||
u_long start, u_long end, u_long count, u_int flags) | rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) | ||||
{ | { | ||||
#if defined(NEW_PCIB) && defined(PCI_RES_BUS) | #if defined(NEW_PCIB) && defined(PCI_RES_BUS) | ||||
Context not available. | |||||
#if defined(NEW_PCIB) && defined(PCI_RES_BUS) | #if defined(NEW_PCIB) && defined(PCI_RES_BUS) | ||||
int | int | ||||
legacy_pcib_adjust_resource(device_t dev, device_t child, int type, | legacy_pcib_adjust_resource(device_t dev, device_t child, int type, | ||||
struct resource *r, u_long start, u_long end) | struct resource *r, rman_res_t start, rman_res_t end) | ||||
{ | { | ||||
if (type == PCI_RES_BUS) | if (type == PCI_RES_BUS) | ||||
Context not available. |