| 580 | 0, "Limit the host bridge memory to being above this address."); |
| 581 | |
| 582 | rman_res_t |
| 583 | hostb_alloc_start(int type, rman_res_t start, rman_res_t end, rman_res_t count) |
| 584 | { |
| 585 | |
| 586 | if (start + count - 1 != end) { |
| 587 | if (type == SYS_RES_MEMORY && start < host_mem_start) |
| 588 | start = host_mem_start; |
| 589 | if (type == SYS_RES_IOPORT && start < 0x1000) |
| 590 | start = 0x1000; |
| 591 | } |
| 592 | return (start); |
| 593 | } |
| 594 | |
| 595 | struct resource * |
| 596 | legacy_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, |
no outgoing calls
no test coverage detected