diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-09-12 10:31:58 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-09-12 10:31:58 -0600 |
commit | 5e6d8cafd8f47bc78a4667732837dae68869283c (patch) | |
tree | fc17b31a653eebe352a618ee83011e0c4d0ee6cf | |
parent | 2425a7e58bf1e08e6b22880dfca6f9095e675630 (diff) | |
download | nuttx-5e6d8cafd8f47bc78a4667732837dae68869283c.tar.gz nuttx-5e6d8cafd8f47bc78a4667732837dae68869283c.tar.bz2 nuttx-5e6d8cafd8f47bc78a4667732837dae68869283c.zip |
Comsetic updates to comments, debug output
-rw-r--r-- | nuttx/arch/arm/src/armv7-a/arm_addrenv.c | 4 | ||||
-rw-r--r-- | nuttx/arch/arm/src/armv7-a/arm_fullcontextrestore.S | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/armv7-a/arm_addrenv.c b/nuttx/arch/arm/src/armv7-a/arm_addrenv.c index c3d1e1ca1..5dc1652c9 100644 --- a/nuttx/arch/arm/src/armv7-a/arm_addrenv.c +++ b/nuttx/arch/arm/src/armv7-a/arm_addrenv.c @@ -631,7 +631,9 @@ int up_addrenv_vtext(FAR group_addrenv_t *addrenv, FAR void **vtext) int up_addrenv_vdata(FAR group_addrenv_t *addrenv, uintptr_t textsize, FAR void **vdata) { - bvdbg("return=%p\n", (FAR void *)CONFIG_ARCH_DATA_VBASE); + bvdbg("return=%p\n", + (FAR void *)(CONFIG_ARCH_DATA_VBASE + ARCH_DATA_RESERVE_SIZE)); + /* Not much to do in this case */ DEBUGASSERT(addrenv && vdata); diff --git a/nuttx/arch/arm/src/armv7-a/arm_fullcontextrestore.S b/nuttx/arch/arm/src/armv7-a/arm_fullcontextrestore.S index f6de34b98..4a8b926ca 100644 --- a/nuttx/arch/arm/src/armv7-a/arm_fullcontextrestore.S +++ b/nuttx/arch/arm/src/armv7-a/arm_fullcontextrestore.S @@ -116,7 +116,7 @@ up_fullcontextrestore: #ifdef CONFIG_BUILD_KERNEL /* For the kernel build, we need to be able to transition gracefully - * between kernel- and user-mode tasks. We have to do that with a system + * between kernel- and user-mode tasks. Here we do that with a system * call; the system call will execute in kernel mode and but can return * to either user or kernel mode. */ |