From e896f974831f25d7994cf12a2170c68a63879c4c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 11 Sep 2014 17:15:26 -0600 Subject: Update some comments/function headers --- nuttx/arch/arm/src/armv7-a/arm_fullcontextrestore.S | 11 ++++++++++- nuttx/binfmt/libpcode/README.txt | 12 ++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/nuttx/arch/arm/src/armv7-a/arm_fullcontextrestore.S b/nuttx/arch/arm/src/armv7-a/arm_fullcontextrestore.S index 1f10b8dde..b1885a778 100644 --- a/nuttx/arch/arm/src/armv7-a/arm_fullcontextrestore.S +++ b/nuttx/arch/arm/src/armv7-a/arm_fullcontextrestore.S @@ -70,6 +70,15 @@ /**************************************************************************** * Name: up_fullcontextrestore + * + * Description: + * Restore the specified task context. Full prototype is: + * + * void up_fullcontextrestore(uint32_t *restoreregs) noreturn_function; + * + * Return: + * None + * ****************************************************************************/ .globl up_fullcontextrestore @@ -83,7 +92,7 @@ up_fullcontextrestore: #ifdef CONFIG_ARCH_FPU /* First, restore the floating point registers. Lets do this before we - * restore the arm registers so that we have plentry of registers to + * restore the ARM registers so that we have plenty of registers to * work with. */ diff --git a/nuttx/binfmt/libpcode/README.txt b/nuttx/binfmt/libpcode/README.txt index 05e5575e8..a8f482215 100644 --- a/nuttx/binfmt/libpcode/README.txt +++ b/nuttx/binfmt/libpcode/README.txt @@ -128,12 +128,12 @@ Issues and the apps/ directory. That should not be the case; the nuttx/ logic should be completely independent of apps/ logic (but not vice versa). -2. The current implementation will not work in the CONFIG_KERNEL_BUILD. - This is because of the little proxy logic (function pcode_proxy() in the - file pcode.c). (a) That logic would attempt to link with P-code logic - that resides in user space. That will not work. And (2) that proxy - would be started in user mode but in the kernel address space which will - certainly crash immediately. +2. The current implementation will not work in the CONFIG_BUILD_PROTECTED or + CONFIG_BUILD_KERNEL configurations. That is because of the little proxy + logic (function pcode_proxy() in the file pcode.c). (a) That logic would + attempt to link with P-code logic that resides in user space. That will + not work. And (2) that proxy would be started in user mode but in the + kernel address space which will certainly crash immediately. The general idea to fix both of these problems is as follows: -- cgit v1.2.3