Lines Matching full:the

8  * this software and associated documentation files (the "Software"), to deal in
9 * the Software without restriction, including without limitation the rights to
11 * the Software, and to permit persons to whom the Software is furnished to do so,
12 * subject to the following conditions:
14 * The above copyright notice and this permission notice shall be included in all
15 * copies or substantial portions of the Software.
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
19 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
22 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45 * The settings in this file configure FreeRTOS correctly for the
72 /* 32-bit tick type on a 32-bit architecture, so reads of the tick count do
101 /* access the variable directly. */ \
105 /* The nesting has unwound and we \
113 /* The yield macro maps directly to the vPortYield() function. */
118 * sets a flag to say that a yield has been requested. The interrupt exit code
120 * context, if the flag is not false. This is done to prevent multiple calls to
140 /* Check the configuration. */
145 /* Store/clear the ready priorities in a bit map. */
165 /* Task function macros as described on the FreeRTOS.org WEB site. */
170 /* The following structure is used by the FreeRTOS exception handler. It is
171 * filled with the MicroBlaze context as it was at the time the exception occurred.
175 /* The following structure members hold the values of the MicroBlaze
176 * registers at the time the exception was raised. */
193 …eturn_address_from_exceptions; /* The exception entry code will copy the BTR into R17 if the excep…
215 /* A human readable description of the exception cause. The strings used
216 * are the same as the #define constant names found in the
220 /* The human readable name of the task that was running at the time the
221 * exception occurred. This is the name that was given to the task when the
222 * task was created using the FreeRTOS xTaskCreate() API function. */
225 /* The handle of the task that was running a the time the exception
232 * Installs pxHandler as the interrupt handler for the peripheral specified by
233 * the ucInterruptID parameter.
237 * The ID of the peripheral that will have pxHandler assigned as its interrupt
238 * handler. Peripheral IDs are defined in the xparameters.h header file, which
239 * is itself part of the BSP project. For example, in the official demo
240 * application for this port, xparameters.h defines the following IDs for the
243 * XPAR_INTC_0_UARTLITE_1_VEC_ID - for the UARTlite peripheral.
244 * XPAR_INTC_0_TMRCTR_0_VEC_ID - for the AXI Timer 0 peripheral.
245 * XPAR_INTC_0_EMACLITE_0_VEC_ID - for the Ethernet lite peripheral.
246 * XPAR_INTC_0_GPIO_1_VEC_ID - for the button inputs.
251 * A pointer to the interrupt handler function itself. This must be a void
257 * The parameter passed into the handler function. In many cases this will not
259 * the peripheral instance variable, so it can be accessed from inside the
263 * pdPASS is returned if the function executes successfully. Any other value
264 * being returned indicates that the function did not execute correctly.
272 * Enables the interrupt, within the interrupt controller, for the peripheral
273 * specified by the ucInterruptID parameter.
277 * The ID of the peripheral that will have its interrupt enabled in the
278 * interrupt controller. Peripheral IDs are defined in the xparameters.h header
279 * file, which is itself part of the BSP project. For example, in the official
280 * demo application for this port, xparameters.h defines the following IDs for
281 * the four possible interrupt sources:
283 * XPAR_INTC_0_UARTLITE_1_VEC_ID - for the UARTlite peripheral.
284 * XPAR_INTC_0_TMRCTR_0_VEC_ID - for the AXI Timer 0 peripheral.
285 * XPAR_INTC_0_EMACLITE_0_VEC_ID - for the Ethernet lite peripheral.
286 * XPAR_INTC_0_GPIO_1_VEC_ID - for the button inputs.
292 * Disables the interrupt, within the interrupt controller, for the peripheral
293 * specified by the ucInterruptID parameter.
297 * The ID of the peripheral that will have its interrupt disabled in the
298 * interrupt controller. Peripheral IDs are defined in the xparameters.h header
299 * file, which is itself part of the BSP project. For example, in the official
300 * demo application for this port, xparameters.h defines the following IDs for
301 * the four possible interrupt sources:
303 * XPAR_INTC_0_UARTLITE_1_VEC_ID - for the UARTlite peripheral.
304 * XPAR_INTC_0_TMRCTR_0_VEC_ID - for the AXI Timer 0 peripheral.
305 * XPAR_INTC_0_EMACLITE_0_VEC_ID - for the Ethernet lite peripheral.
306 * XPAR_INTC_0_GPIO_1_VEC_ID - for the button inputs.
312 * This is an application defined callback function used to install the tick
313 * interrupt handler. It is provided as an application callback because the
315 * all of which will have the same timer peripherals defined or available. This
316 * example uses the AXI Timer 0. If that is available on your hardware platform
318 * The name of the interrupt handler that should be installed is vPortTickISR(),
319 * which the function below declares as an extern.
325 * interrupt was installed by the the vApplicationSetupTimerInterrupt() callback
326 * function - in this case the interrupt generated by the AXI timer. It is
327 * provided as an application callback because the kernel will run on lots of
328 * different MicroBlaze and FPGA configurations - not all of which will have the
329 * same timer peripherals defined or available. This example uses the AXI Timer 0.
331 * implementation should not require modification provided the example definition
337 * vPortExceptionsInstallHandlers() is only available when the MicroBlaze
341 * vPortExceptionsInstallHandlers() installs the FreeRTOS exception handler
345 * code. After that is done, the default FreeRTOS exception handler that will
347 * the standard Xilinx library function microblaze_register_exception_handler().
349 * If vPortExceptionsInstallHandlers() is not called explicitly by the
350 * application, it will be called automatically by the kernel the first time
354 * See the description of vApplicationExceptionRegisterDump() for information
355 * on the processing performed by the FreeRTOS exception handler.
360 * The FreeRTOS exception handler fills an xPortRegisterDump structure (defined
361 * in portmacro.h) with the MicroBlaze context, as it was at the time the
362 * exception occurred. The exception handler then calls
363 * vApplicationExceptionRegisterDump(), passing in the completed
366 * The FreeRTOS kernel provides its own implementation of
367 * vApplicationExceptionRegisterDump(), but the kernel provided implementation
368 * is declared as being 'weak'. The weak definition allows the application
369 * writer to provide their own implementation, should they wish to use the
371 * that wrote the register dump data to a display, or a UART port.