forked from Imagelibrary/rtems
2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* bsp_howto/clock.t: The Shared Memory Driver no longer requires the special IOCTL in Clock_control. This was a hack which has existed since before the Classic API Timer Manager was implemented. All implementations of and references to Clock_control were removed.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* bsp_howto/clock.t: The Shared Memory Driver no longer requires the
|
||||
special IOCTL in Clock_control. This was a hack which has existed
|
||||
since before the Classic API Timer Manager was implemented. All
|
||||
implementations of and references to Clock_control were removed.
|
||||
|
||||
2008-09-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* user/conf.t: Add CONFIGURE_BSP_PREREQUISITE_DRIVERS and
|
||||
|
||||
@@ -104,29 +104,7 @@ rtems_isr Clock_isr( rtems_vector_number vector )
|
||||
|
||||
@section IO Control
|
||||
|
||||
The clock driver must supply a handler for the IO control device driver
|
||||
entry point. This functionality is used by other components -- notably
|
||||
the Shared Memory Driver to install a wrapper for the clock interrupt
|
||||
service routine. The following shows the functionality required:
|
||||
|
||||
@example
|
||||
@group
|
||||
rtems_device_driver Clock_control(
|
||||
rtems_device_major_number major,
|
||||
rtems_device_minor_number minor,
|
||||
void *pargp
|
||||
)
|
||||
@{
|
||||
error check the argument pointer parameter
|
||||
|
||||
if the command is "ISR"
|
||||
invoke the clock interrupt service routine
|
||||
else if the command is "NEW"
|
||||
install the requested handler
|
||||
@}
|
||||
@end group
|
||||
@end example
|
||||
|
||||
|
||||
|
||||
Prior to RTEMS 4.9, the Shared Memory MPCI Driver required a special
|
||||
IOCTL in the Clock Driver. This is no longer required and the Clock
|
||||
Driver does not have to provide an IOCTL method at all.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user