The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

ddi_mapdev_ctl (9)
  • >> ddi_mapdev_ctl (9) ( Solaris man: Ядро )
  • 
    NAME
         ddi_mapdev_ctl - device mapping-control structure
    
    SYNOPSIS
         #include <sys/conf.h>
         #include <sys/devops.h>
    
    INTERFACE LEVEL
         Solaris DDI specific (Solaris DDI).
    
    DESCRIPTION
         Future releases of Solaris will provide this  structure  for
         binary   and  source  compatibility.  However, for increased
         functionality, use   devmap_callback_ctl(9S)  instead.   See
         devmap_callback_ctl(9S) for details.
    
         A ddi_mapdev_ctl structure describes a set of routines  that
         allow  a  device driver to  manage events on mappings of the
         device created by ddi_mapdev(9F).
    
         See mapdev_access(9E),  mapdev_dup(9E)  and  mapdev_free(9E)
         for more details on these entry points.
    
    STRUCTURE MEMBERS
         int     mapdev_rev;
         int     (*mapdev_access)(ddi_mapdev_handle_t handle, void *devprivate,
                          off_t offset);
         void    (*mapdev_free)(ddi_mapdev_handle_t handle, void *devprivate);
         int     (*mapdev_dup)(ddi_mapdev_handle_t handle, void *devprivate,
                          ddi_mapdev_handle_t new_handle, void **new_devprivate);
    
         A device driver should allocate the device  mapping  control
         structure and initialize  the following fields:
    
              mapdev_rev
                    Must be set to MAPDEV_REV.
    
              mapdev_access
                    Must   be   set   to   the   address    of    the
                    mapdev_access(9E) entry point.
    
              mapdev_free
                    Must be set to the address of the mapdev_free(9E)
                    entry point.
    
              mapdev_dup
                    Must be set to the address of the  mapdev_dup(9E)
                    entry point.
    
    
    SEE ALSO
    
         exit(2),  fork(2),  mmap(2),  munmap(2),  mapdev_access(9E),
         mapdev_dup(9E), mapdev_free(9E), segmap(9E), ddi_mapdev(9F),
         ddi_mapdev_intercept(9F), ddi_mapdev_nointercept(9F)
    
         Writing Device Drivers
    
    
    
    


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру