Motorola MCP750 Specifications Page 125

  • Download
  • Add to my manuals
  • Print
  • Page
    / 344
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 124
Understanding the Kernel Environmen
t
9-5
cmn_err.h Defines the interface to display messages or panic the system.
param.h Defines the machine type dependent parameters and various
system constants and macros.
file.h Defines the status flags that are set by the user on open(2) and
fcntl(2) system calls and passed to the driver’s open(D2),
close(D2), and ioctl(D2) routines.
user.h Defines the per process user structure containing data that is not
needed in core when the process is swapped out.
uio.h Defines the iovec(D4) and the uio(D4) structures.
buf.h Defines the buf(D4) structure.
proc.h Contains the proc structure for a user process. One structure is
allocated per active process and contains all the data needed about
the process while the process is swapped out.
signal.h Defines the signal types for each architecture.
errno.h Defines the system error codes.
conf.h Defines the bdevsw, and cdevsw structures.
cred.h Defines the cred structure.
types.h Defines all of the basic system data types.
kmem.h Defines interface to kernel memory allocation routines.
ddi.h Defines the flags and functions that are needed by drivers that con-
form to the DDI/DKI.
NOTE
Note that the DDI/DKI does not permit use of kernel macros and
also does not permit direct reference of fields within most data
structures. This file contains undef statements that undefine ker-
nel macros that are re-implemented as kernel functions. Because
the ddi.h file undefines macros that are defined in some of the
other header files, you must include it after all of the other header
files that are used by your driver.
The cdevsw Structure 9
The kernel uses a large array of function pointers to access a particular device. This array
is composed of cdevsw structures. The major device number is used as the index into this
array.
Page view 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 343 344

Comments to this Manuals

No comments