Changeset 94a762cb in rtems
- Timestamp:
- 08/22/03 13:14:31 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 14780ecf
- Parents:
- 5c47f47
- Location:
- doc/bsp_howto
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/bsp_howto/ChangeLog
r5c47f47 r94a762cb 1 2003-08-22 Joel Sherrill <joel@OARcorp.com> 2 3 * adaintr.t, ata.t, target.t: Reconcile differences between CVS trunk 4 and 4.6 branch. 5 1 6 2003-08-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 7 -
doc/bsp_howto/adaintr.t
r5c47f47 r94a762cb 33 33 34 34 To enable gnat interrupt and error exception support for a particular 35 bsp, the following has to be done:35 BSP, the following has to be done: 36 36 37 37 @enumerate … … 43 43 handled by gnat (including spurious). 44 44 45 @item At startup, gnat calls @code{__gnat_install_handler()}. The bsp45 @item At startup, gnat calls @code{__gnat_install_handler()}. The BSP 46 46 must provide this function which installs the interrupt/trap handlers. 47 47 48 48 @end enumerate 49 49 50 Which cpu-interrupt will generate which signal is implementation50 Which CPU-interrupt will generate which signal is implementation 51 51 defined. There are 32 POSIX signals (1 - 32), and all except the 52 52 three error signals (SIGILL, SIGFPE and SIGSEGV) can be used. I … … 64 64 Ada examples package to show how interrupts can be handled 65 65 in Ada95. Note that generation of the test interrupt 66 (@code{irqforce.c}) is bspspecific and must be edited.66 (@code{irqforce.c}) is BSP specific and must be edited. 67 67 68 68 NOTE: The @code{irq_test} example was written for the SPARC/ERC32 -
doc/bsp_howto/ata.t
r5c47f47 r94a762cb 16 16 17 17 ATA driver provides generic interface to an ATA device. ATA driver is 18 hardware independ ant implementation of ATA standartdefined in working draft19 "AT Attachment Interface with Exten tions (ATA-2)" X3T10/0948D revision 4c,18 hardware independent implementation of ATA standard defined in working draft 19 "AT Attachment Interface with Extensions (ATA-2)" X3T10/0948D revision 4c, 20 20 March 18, 1996. ATA Driver based on IDE Controller Driver and may be used for 21 21 computer systems with single IDE controller and with multiple as well. Although … … 30 30 31 31 The reference implementation for ATA driver can be found in 32 @code{c /src/exec/libblock/src/ata.c}.32 @code{cpukit/libblock/src/ata.c}. 33 33 34 34 @section Initialization … … 53 53 for each IDE controller successfully initialized by the IDE Controller 54 54 driver 55 if the controller is inter uupt driven55 if the controller is interrupt driven 56 56 set up interrupt handler 57 57 … … 68 68 69 69 Special processing of ATA commands is required because of absence of 70 multitasking enviro ment during the driver initialization.70 multitasking environment during the driver initialization. 71 71 72 72 Detected ATA devices are registered in the system as physical block devices … … 119 119 ATA driver supports separate ATA requests queues for each IDE 120 120 controller (one queue per controller). The following structure contains 121 infor amtion about controller's queue and devices attached to the controller:121 information about controller's queue and devices attached to the controller: 122 122 123 123 @example … … 129 129 typedef struct ata_ide_ctrl_s @{ 130 130 rtems_boolean present; /* controller state */ 131 ata_dev_t device[2]; /* ata d iveces description */131 ata_dev_t device[2]; /* ata devices description */ 132 132 Chain_Control reqs; /* requests chain */ 133 133 @} ata_ide_ctrl_t; … … 138 138 number. 139 139 140 The following stru ture allows to map an ATA device to the pair (IDE140 The following structure allows to map an ATA device to the pair (IDE 141 141 controller minor number device is attached to, device number 142 142 on the controller): … … 177 177 implementation supports only two ioctls: BLKIO_REQUEST and 178 178 ATAIO_SET_MULTIPLE_MODE. Each ATA driver ioctl() call generates an 179 ATA request which is appended to the ap ropriate controller queue depending179 ATA request which is appended to the appropriate controller queue depending 180 180 on ATA device the request belongs to. If appended request is single request in 181 181 the controller's queue then ATA driver event is generated. … … 184 184 driver. In current driver version queue of ATA driver events implemented 185 185 as RTEMS message queue. Each message contains event type, IDE controller 186 minor number on which event happ aned and error if an error occured. Events186 minor number on which event happened and error if an error occurred. Events 187 187 may be generated either by ATA driver ioctl call or by ATA driver task itself. 188 188 Each time ATA driver task receives an event it gets controller minor number -
doc/bsp_howto/target.t
r5c47f47 r94a762cb 27 27 routines for the executive proper such as the context switch and 28 28 the interrupt subroutine implementations. Sources for the supported 29 processor families can be found in @code{c /src/exec/score/cpu}.29 processor families can be found in @code{cpukit/score/cpu}. 30 30 A good starting point for a new family of processors is the 31 31 @code{no_cpu} directory, which holds both prototypes and … … 35 35 dependent on a particular CPU model. For example, the MC68000 and MC68020 36 36 processors are both members of the m68k CPU family but there are significant 37 differen ts between these CPU models which RTEMS must take into account.37 differences between these CPU models which RTEMS must take into account. 38 38 39 39 @section Board Dependent … … 116 116 117 117 @example 118 c /src/exec/score/cpu/@i{CPU}118 cpukit/score/cpu/@i{CPU} 119 119 @end example 120 120
Note: See TracChangeset
for help on using the changeset viewer.