vm_phys.h (274556) | vm_phys.h (276439) |
---|---|
1/*- 2 * Copyright (c) 2002-2006 Rice University 3 * Copyright (c) 2007 Alan L. Cox <alc@cs.rice.edu> 4 * All rights reserved. 5 * 6 * This software was developed for the FreeBSD Project by Alan L. Cox, 7 * Olivier Crameri, Peter Druschel, Sitaram Iyer, and Juan Navarro. 8 * --- 14 unchanged lines hidden (view full) --- 23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 25 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 26 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 28 * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 * POSSIBILITY OF SUCH DAMAGE. 30 * | 1/*- 2 * Copyright (c) 2002-2006 Rice University 3 * Copyright (c) 2007 Alan L. Cox <alc@cs.rice.edu> 4 * All rights reserved. 5 * 6 * This software was developed for the FreeBSD Project by Alan L. Cox, 7 * Olivier Crameri, Peter Druschel, Sitaram Iyer, and Juan Navarro. 8 * --- 14 unchanged lines hidden (view full) --- 23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 25 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 26 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 28 * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 * POSSIBILITY OF SUCH DAMAGE. 30 * |
31 * $FreeBSD: head/sys/vm/vm_phys.h 274556 2014-11-15 23:40:44Z alc $ | 31 * $FreeBSD: head/sys/vm/vm_phys.h 276439 2014-12-31 00:54:38Z alc $ |
32 */ 33 34/* 35 * Physical memory system definitions 36 */ 37 38#ifndef _VM_PHYS_H_ 39#define _VM_PHYS_H_ --- 27 unchanged lines hidden (view full) --- 67 68/* 69 * The following functions are only to be used by the virtual memory system. 70 */ 71void vm_phys_add_page(vm_paddr_t pa); 72void vm_phys_add_seg(vm_paddr_t start, vm_paddr_t end); 73vm_page_t vm_phys_alloc_contig(u_long npages, vm_paddr_t low, vm_paddr_t high, 74 u_long alignment, vm_paddr_t boundary); | 32 */ 33 34/* 35 * Physical memory system definitions 36 */ 37 38#ifndef _VM_PHYS_H_ 39#define _VM_PHYS_H_ --- 27 unchanged lines hidden (view full) --- 67 68/* 69 * The following functions are only to be used by the virtual memory system. 70 */ 71void vm_phys_add_page(vm_paddr_t pa); 72void vm_phys_add_seg(vm_paddr_t start, vm_paddr_t end); 73vm_page_t vm_phys_alloc_contig(u_long npages, vm_paddr_t low, vm_paddr_t high, 74 u_long alignment, vm_paddr_t boundary); |
75vm_page_t vm_phys_alloc_freelist_pages(int flind, int pool, int order); | 75vm_page_t vm_phys_alloc_freelist_pages(int freelist, int pool, int order); |
76vm_page_t vm_phys_alloc_pages(int pool, int order); 77boolean_t vm_phys_domain_intersects(long mask, vm_paddr_t low, vm_paddr_t high); 78int vm_phys_fictitious_reg_range(vm_paddr_t start, vm_paddr_t end, 79 vm_memattr_t memattr); 80void vm_phys_fictitious_unreg_range(vm_paddr_t start, vm_paddr_t end); 81vm_page_t vm_phys_fictitious_to_vm_page(vm_paddr_t pa); 82void vm_phys_free_contig(vm_page_t m, u_long npages); 83void vm_phys_free_pages(vm_page_t m, int order); --- 39 unchanged lines hidden --- | 76vm_page_t vm_phys_alloc_pages(int pool, int order); 77boolean_t vm_phys_domain_intersects(long mask, vm_paddr_t low, vm_paddr_t high); 78int vm_phys_fictitious_reg_range(vm_paddr_t start, vm_paddr_t end, 79 vm_memattr_t memattr); 80void vm_phys_fictitious_unreg_range(vm_paddr_t start, vm_paddr_t end); 81vm_page_t vm_phys_fictitious_to_vm_page(vm_paddr_t pa); 82void vm_phys_free_contig(vm_page_t m, u_long npages); 83void vm_phys_free_pages(vm_page_t m, int order); --- 39 unchanged lines hidden --- |