From 75e22db0d500f02e6a1c0304ead2bff4f0790139 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 27 Mar 1998 16:47:53 +0000 Subject: Completed sweep adding directive and constant prefixes. --- doc/user/io.t | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'doc/user/io.t') diff --git a/doc/user/io.t b/doc/user/io.t index c301547d84..7710b50f4c 100644 --- a/doc/user/io.t +++ b/doc/user/io.t @@ -79,7 +79,8 @@ entry points: If the device driver does not support a particular entry point, then that entry in the Configuration Table should -be NULL. RTEMS will return @code{@value{RPREFIX}SUCCESSFUL} as the executive's and +be NULL. RTEMS will return +@code{@value{RPREFIX}SUCCESSFUL} as the executive's and zero (0) as the device driver's return code for these device driver entry points. @@ -223,10 +224,11 @@ the fatal_error_occurred directive. @end ifinfo @subsection Register and Lookup Name -The io_register directive associates a name with the +The @code{@value{DIRPREFIX}io_register} directive associates a name with the specified device (i.e. major/minor number pair). Device names are typically registered as part of the device driver -initialization sequence. The io_lookup directive is used to +initialization sequence. The @code{@value{DIRPREFIX}io_lookup} +directive is used to determine the major/minor number pair associated with the specified device name. The use of these directives frees the application from being dependent on the arbitrary assignment of @@ -241,9 +243,14 @@ conventions are dictated by RTEMS. The I/O manager provides directives which enable the application program to utilize device drivers in a standard manner. There is a direct correlation between the RTEMS I/O -manager directives io_initialize, io_open, io_close, io_read, -io_write, and io_control and the underlying device driver entry -points. +manager directives +@code{@value{DIRPREFIX}io_initialize}, +@code{@value{DIRPREFIX}io_open}, +@code{@value{DIRPREFIX}io_close}, +@code{@value{DIRPREFIX}io_read}, +@code{@value{DIRPREFIX}io_write}, and +@code{@value{DIRPREFIX}io_control} +and the underlying device driver entry points. @ifinfo @node I/O Manager Directives, IO_INITIALIZE - Initialize a device driver, Accessing an Device Driver, I/O Manager -- cgit v1.2.3