没有合适的资源?快使用搜索试试~ 我知道了~
Oracle Solaris 10 man pages section9:DDI and DKI Driver Entry Po
需积分: 5 0 下载量 140 浏览量
2023-06-19
15:01:54
上传
评论
收藏 919KB PDF 举报
温馨提示
试读
124页
Oracle Solaris 10 man pages section9:DDI and DKI Driver Entry Points-124
资源推荐
资源详情
资源评论
man pages section 9: DDI and DKI Driver
Entry Points
Part No: 816–5179–17
August 2011
Copyright © 2011, Oracle and/or its aliates. All rights reserved.
License Restrictions Warranty/Consequential Damages Disclaimer
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual
property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software,
unless required by law for interoperability, is prohibited.
Warranty Disclaimer
The information contained herein is subject to change without notice and is not warranted to be error-free. If you nd any errors, please report them to us in writing.
Restricted Rights Notice
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is
applicable:
U.S. GOVERNMENT RIGHTS
Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or
"commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specic supplemental regulations. As such, the use, duplication,
disclosure, modication, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent
applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007).
Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
Hazardous Applications Notice
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently
dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall
be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its aliates disclaim any
liability for any damages caused by use of this software or hardware in dangerous applications.
Trademark Notice
Oracle and Java are registered trademarks of Oracle and/or its aliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered
trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro
Devices. UNIX is a registered trademark of The Open Group in the United States and other countries.
Third Party Content, Products, and Services Disclaimer
This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and
its aliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation
and its aliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.
111219@25097
Contents
Preface .....................................................................................................................................................5
Introduction ...........................................................................................................................................9
Intro(9E) ............................................................................................................................................. 10
Driver Entry Points ..............................................................................................................................17
aread(9E) ............................................................................................................................................. 18
attach(9E) ........................................................................................................................................... 20
awrite(9E) ........................................................................................................................................... 22
chpoll(9E) ........................................................................................................................................... 24
close(9E) ............................................................................................................................................. 26
csx_event_handler(9E) .................................................................................................................... 29
detach(9E) ........................................................................................................................................... 36
devmap(9E) ........................................................................................................................................... 38
devmap_access(9E) ............................................................................................................................42
devmap_contextmgt(9E) .................................................................................................................... 45
devmap_dup(9E) ................................................................................................................................... 48
devmap_map(9E) ................................................................................................................................... 50
devmap_unmap(9E) ............................................................................................................................... 52
dump(9E) ............................................................................................................................................... 55
_fini(9E) ............................................................................................................................................. 56
getinfo(9E) ......................................................................................................................................... 59
gld(9E) .................................................................................................................................................. 61
identify(9E) ....................................................................................................................................... 66
ioctl(9E) ............................................................................................................................................. 67
ks_snapshot(9E) ................................................................................................................................. 71
ks_update(9E) ..................................................................................................................................... 73
3
mac(9E) .................................................................................................................................................. 75
mmap(9E) ............................................................................................................................................... 82
open(9E) ............................................................................................................................................... 86
power(9E) ............................................................................................................................................. 89
print(9E) ............................................................................................................................................. 91
probe(9E) ............................................................................................................................................. 92
prop_op(9E) ......................................................................................................................................... 93
put(9E) .................................................................................................................................................. 95
read(9E) ............................................................................................................................................... 97
segmap(9E) ........................................................................................................................................... 99
srv(9E) ................................................................................................................................................ 101
strategy(9E) ..................................................................................................................................... 103
tran_abort(9E) ................................................................................................................................. 104
tran_bus_reset(9E) ........................................................................................................................ 105
tran_dmafree(9E) ............................................................................................................................. 106
tran_getcap(9E) ............................................................................................................................... 107
tran_init_pkt(9E) .......................................................................................................................... 109
tran_quiesce(9E) ............................................................................................................................. 112
tran_reset(9E) ................................................................................................................................. 113
tran_reset_notify(9E) .................................................................................................................. 115
tran_start(9E) ................................................................................................................................. 116
tran_sync_pkt(9E) .......................................................................................................................... 119
tran_tgt_free(9E) .......................................................................................................................... 120
tran_tgt_init(9E) .......................................................................................................................... 121
tran_tgt_probe(9E) ........................................................................................................................ 122
write(9E) ........................................................................................................................................... 123
Contents
man pages section 9: DDI and DKI Driver Entry Points • August 20114
Preface
Both novice users and those familar with the SunOS operating system can use online man pages
to obtain information about the system and its features. A man page is intended to answer
concisely the question “What does it do?” The man pages in general comprise a reference
manual. They are not intended to be a tutorial.
Overview
The following contains a brief description of each man page section and the information it
references:
■
Section 1 describes, in alphabetical order, commands available with the operating system.
■
Section 1M describes, in alphabetical order, commands that are used chiey for system
maintenance and administration purposes.
■
Section 2 describes all of the system calls. Most of these calls have one or more error returns.
An error condition is indicated by an otherwise impossible returned value.
■
Section 3 describes functions found in various libraries, other than those functions that
directly invoke UNIX system primitives, which are described in Section 2.
■
Section 4 outlines the formats of various les. The C structure declarations for the le
formats are given where applicable.
■
Section 5 contains miscellaneous documentation such as character-set tables.
■
Section 6 contains available games and demos.
■
Section 7 describes various special les that refer to specic hardware peripherals and device
drivers. STREAMS software drivers, modules and the STREAMS-generic set of system calls
are also described.
■
Section 9 provides reference information needed to write device drivers in the kernel
environment. It describes two device driver interface specications: the Device Driver
Interface (DDI) and the Driver/Kernel Interface (DKI).
■
Section 9E describes the DDI/DKI, DDI-only, and DKI-only entry-point routines a
developer can include in a device driver.
■
Section 9F describes the kernel functions available for use by device drivers.
■
Section 9S describes the data structures used by drivers to share information between the
driver and the kernel.
5
剩余123页未读,继续阅读
资源评论
weixin_40191861_zj
- 粉丝: 65
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功