mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
update some comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4126 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -152,6 +152,12 @@ uint32_t *pic32mx_decodeirq(uint32_t *regs)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_PIC32MX_NESTED_INTERRUPTS
|
#ifdef CONFIG_PIC32MX_NESTED_INTERRUPTS
|
||||||
|
/* I think there are some task switching issues here. You should not
|
||||||
|
* enable nested interrupts unless you are ready to deal with the
|
||||||
|
* complexities of nested context switching. The logic here is probably
|
||||||
|
* insufficient.
|
||||||
|
*/
|
||||||
|
|
||||||
current_regs = savestate;
|
current_regs = savestate;
|
||||||
if (current_regs == NULL)
|
if (current_regs == NULL)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user