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. */
170 /* Task function macros as described on the FreeRTOS.org WEB site. */
175 /* The following structure is used by the FreeRTOS exception handler. It is
176 * filled with the MicroBlaze context as it was at the time the exception occurred.
180 /* The following structure members hold the values of the MicroBlaze
181 * registers at the time the exception was raised. */
198 …eturn_address_from_exceptions; /* The exception entry code will copy the BTR into R17 if the excep…
220 /* A human readable description of the exception cause. The strings used
221 * are the same as the #define constant names found in the
225 /* The human readable name of the task that was running at the time the
226 * exception occurred. This is the name that was given to the task when the
227 * task was created using the FreeRTOS xTaskCreate() API function. */
230 /* The handle of the task that was running a the time the exception
237 * Installs pxHandler as the interrupt handler for the peripheral specified by
238 * the ucInterruptID parameter.
242 * The ID of the peripheral that will have pxHandler assigned as its interrupt
243 * handler. Peripheral IDs are defined in the xparameters.h header file, which
244 * is itself part of the BSP project. For example, in the official demo
245 * application for this port, xparameters.h defines the following IDs for the
248 * XPAR_INTC_0_UARTLITE_1_VEC_ID - for the UARTlite peripheral.
249 * XPAR_INTC_0_TMRCTR_0_VEC_ID - for the AXI Timer 0 peripheral.
250 * XPAR_INTC_0_EMACLITE_0_VEC_ID - for the Ethernet lite peripheral.
251 * XPAR_INTC_0_GPIO_1_VEC_ID - for the button inputs.
256 * A pointer to the interrupt handler function itself. This must be a void
262 * The parameter passed into the handler function. In many cases this will not
264 * the peripheral instance variable, so it can be accessed from inside the
268 * pdPASS is returned if the function executes successfully. Any other value
269 * being returned indicates that the function did not execute correctly.
277 * Enables the interrupt, within the interrupt controller, for the peripheral
278 * specified by the ucInterruptID parameter.
282 * The ID of the peripheral that will have its interrupt enabled in the
283 * interrupt controller. Peripheral IDs are defined in the xparameters.h header
284 * file, which is itself part of the BSP project. For example, in the official
285 * demo application for this port, xparameters.h defines the following IDs for
286 * the four possible interrupt sources:
288 * XPAR_INTC_0_UARTLITE_1_VEC_ID - for the UARTlite peripheral.
289 * XPAR_INTC_0_TMRCTR_0_VEC_ID - for the AXI Timer 0 peripheral.
290 * XPAR_INTC_0_EMACLITE_0_VEC_ID - for the Ethernet lite peripheral.
291 * XPAR_INTC_0_GPIO_1_VEC_ID - for the button inputs.
297 * Disables the interrupt, within the interrupt controller, for the peripheral
298 * specified by the ucInterruptID parameter.
302 * The ID of the peripheral that will have its interrupt disabled in the
303 * interrupt controller. Peripheral IDs are defined in the xparameters.h header
304 * file, which is itself part of the BSP project. For example, in the official
305 * demo application for this port, xparameters.h defines the following IDs for
306 * the four possible interrupt sources:
308 * XPAR_INTC_0_UARTLITE_1_VEC_ID - for the UARTlite peripheral.
309 * XPAR_INTC_0_TMRCTR_0_VEC_ID - for the AXI Timer 0 peripheral.
310 * XPAR_INTC_0_EMACLITE_0_VEC_ID - for the Ethernet lite peripheral.
311 * XPAR_INTC_0_GPIO_1_VEC_ID - for the button inputs.
317 * This is an application defined callback function used to install the tick
318 * interrupt handler. It is provided as an application callback because the
320 * all of which will have the same timer peripherals defined or available. This
321 * example uses the AXI Timer 0. If that is available on your hardware platform
323 * The name of the interrupt handler that should be installed is vPortTickISR(),
324 * which the function below declares as an extern.
330 * interrupt was installed by the the vApplicationSetupTimerInterrupt() callback
331 * function - in this case the interrupt generated by the AXI timer. It is
332 * provided as an application callback because the kernel will run on lots of
333 * different MicroBlaze and FPGA configurations - not all of which will have the
334 * same timer peripherals defined or available. This example uses the AXI Timer 0.
336 * implementation should not require modification provided the example definition
342 * vPortExceptionsInstallHandlers() is only available when the MicroBlaze
346 * vPortExceptionsInstallHandlers() installs the FreeRTOS exception handler
350 * code. After that is done, the default FreeRTOS exception handler that will
352 * the standard Xilinx library function microblaze_register_exception_handler().
354 * If vPortExceptionsInstallHandlers() is not called explicitly by the
355 * application, it will be called automatically by the kernel the first time
359 * See the description of vApplicationExceptionRegisterDump() for information
360 * on the processing performed by the FreeRTOS exception handler.
365 * The FreeRTOS exception handler fills an xPortRegisterDump structure (defined
366 * in portmacro.h) with the MicroBlaze context, as it was at the time the
367 * exception occurred. The exception handler then calls
368 * vApplicationExceptionRegisterDump(), passing in the completed
371 * The FreeRTOS kernel provides its own implementation of
372 * vApplicationExceptionRegisterDump(), but the kernel provided implementation
373 * is declared as being 'weak'. The weak definition allows the application
374 * writer to provide their own implementation, should they wish to use the
376 * that wrote the register dump data to a display, or a UART port.