diff options
Diffstat (limited to 'sys/dev/agp/agppriv.h')
-rw-r--r-- | sys/dev/agp/agppriv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/agp/agppriv.h b/sys/dev/agp/agppriv.h index 7e846d1..6aa1861 100644 --- a/sys/dev/agp/agppriv.h +++ b/sys/dev/agp/agppriv.h @@ -69,6 +69,7 @@ struct agp_memory { */ struct agp_softc { struct resource *as_aperture; /* location of aperture */ + int as_aperture_rid; u_int32_t as_maxmem; /* allocation upper bound */ u_int32_t as_allocated; /* amount allocated */ enum agp_acquire_state as_state; @@ -88,9 +89,13 @@ struct agp_gatt { void agp_flush_cache(void); u_int8_t agp_find_caps(device_t dev); struct agp_gatt *agp_alloc_gatt(device_t dev); +void agp_set_aperture_resource(device_t dev, int rid); void agp_free_gatt(struct agp_gatt *gatt); int agp_generic_attach(device_t dev); int agp_generic_detach(device_t dev); +int agp_generic_get_aperture(device_t dev); +int agp_generic_set_aperture(device_t dev, + u_int32_t aperture); int agp_generic_enable(device_t dev, u_int32_t mode); struct agp_memory *agp_generic_alloc_memory(device_t dev, int type, vm_size_t size); |