Print this page
4888 Undocument dma_req(9s)
4884 EOF scsi_hba_attach
4886 EOF ddi_dmae_getlim
4887 EOF ddi_iomin
4634 undocument scsi_hba_attach() and ddi_dma_lim(9s)
4630 clean stale references to ddi_iopb_alloc and ddi_iopb_free

*** 22,32 **** * Copyright 2007 Sun Microsystems, Inc. * All rights reserved. Use is subject to license terms. */ /* ! * Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved. */ /* * ddi_dki_comm.inc - Part of a pseudo-kernel to use when analyzing drivers * with warlock. --- 22,32 ---- * Copyright 2007 Sun Microsystems, Inc. * All rights reserved. Use is subject to license terms. */ /* ! * Copyright 2014 Garrett D'Amore <garrett@damore.org> */ /* * ddi_dki_comm.inc - Part of a pseudo-kernel to use when analyzing drivers * with warlock.
*** 167,281 **** { thread_create(0, 0, (void (*)())fp, 0, 0, 0, 0, 0); } int - ddi_dma_map( - dev_info_t *a, - dev_info_t *b, - struct ddi_dma_req *c, - ddi_dma_handle_t *d) - { - struct bus_ops *ops; - (*ops->bus_dma_map)(0, 0, 0, 0); - } - - int - ddi_dma_setup( - dev_info_t *a, - struct ddi_dma_req *b, - ddi_dma_handle_t *c) - { - struct bus_ops *ops; - (*ops->bus_dma_map)(0, 0, 0, 0); - } - - int ddi_dma_mctl(dev_info_t *a, dev_info_t *b, ddi_dma_handle_t c, enum ddi_dma_ctlops d, off_t *e, size_t *f, caddr_t *g, uint_t h) { struct bus_ops *ops; (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); } int - ddi_dma_kvaddrp(ddi_dma_handle_t h, off_t off, size_t len, caddr_t *kp) - { - struct bus_ops *ops; - (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); - } - - int - ddi_dma_htoc(ddi_dma_handle_t h, off_t o, ddi_dma_cookie_t *c) - { - struct bus_ops *ops; - (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); - } - - int - ddi_dma_coff(ddi_dma_handle_t h, ddi_dma_cookie_t *c, off_t *o) - { - struct bus_ops *ops; - (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); - } - - int ddi_dma_get_error(ddi_dma_handle_t h, uint_t len, caddr_t errblk) { struct bus_ops *ops; (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); } int - ddi_dma_segtocookie(ddi_dma_seg_t seg, off_t *o, off_t *l, - ddi_dma_cookie_t *cookiep) - { - struct bus_ops *ops; - (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); - } - - int ddi_dma_sync(ddi_dma_handle_t h, off_t o, size_t l, uint_t whom) { struct bus_ops *ops; - (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); - } - - int - ddi_dma_free(ddi_dma_handle_t h) - { - struct bus_ops *ops; - (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); - } - - int - ddi_iopb_alloc(dev_info_t *dip, ddi_dma_lim_t *limp, uint_t len, caddr_t *iopbp) - { - struct bus_ops *ops; - (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); - } - - void - ddi_iopb_free(caddr_t iopb) - { - struct bus_ops *ops; - (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); - } - - int - ddi_mem_alloc(dev_info_t *dip, ddi_dma_lim_t *limits, uint_t length, - uint_t flags, caddr_t *kaddrp, uint_t *real_length) - { - struct bus_ops *ops; - (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); - } - - void - ddi_mem_free(caddr_t kaddr) - { - struct bus_ops *ops; (*ops->bus_dma_ctl)(0, 0, 0, 0, 0, 0, 0, 0); } int ddi_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op, int mod_flags, --- 167,195 ----