Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem



Posted by John Alfredo on May 28, 2009

What does

( void ) ulCriticalNesting;

do? It is at the bottom of the portSAVE_CONTEXT macro for ARM7_LPC2000, where at the top of the macro I see

extern volatile unsigned portLONG ulCriticalNesting;

Thanks in advance,

John Alfredo

RE: ulCriticalNesting

Posted by Richard on May 28, 2009
I have not checked the code, but if its where I think it is then it is just to prevent the compiler generating a warning about an unused parameter. The parameter is in fact used, but only from inline asm where the compiler does not see it.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner