1/*- 2 * Copyright (c) 2000 Doug Rabson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/agp/agppriv.h 61501 2000-06-10 17:44:53Z dfr $ |
27 */ 28 29#ifndef _PCI_AGPPRIV_H_ 30#define _PCI_AGPPRIV_H_ 31 32/* 33 * This file *must not* be included by code outside the agp driver itself. 34 */ --- 44 unchanged lines hidden (view full) --- 79}; 80 81struct agp_gatt { 82 u_int32_t ag_entries; 83 u_int32_t *ag_virtual; 84 vm_offset_t ag_physical; 85}; 86 |
87void agp_flush_cache(void); |
88u_int8_t agp_find_caps(device_t dev); 89struct agp_gatt *agp_alloc_gatt(device_t dev); 90void agp_free_gatt(struct agp_gatt *gatt); 91int agp_generic_attach(device_t dev); 92int agp_generic_detach(device_t dev); 93int agp_generic_enable(device_t dev, u_int32_t mode); 94struct agp_memory *agp_generic_alloc_memory(device_t dev, int type, 95 vm_size_t size); 96int agp_generic_free_memory(device_t dev, 97 struct agp_memory *mem); 98int agp_generic_bind_memory(device_t dev, 99 struct agp_memory *mem, 100 vm_offset_t offset); 101int agp_generic_unbind_memory(device_t dev, 102 struct agp_memory *mem); 103 104#endif /* !_PCI_AGPPRIV_H_ */ |