From fe48417a962704b2dd66eecd85a93474cee4f148 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 12 Sep 2014 10:31:58 -0600 Subject: [PATCH] Comsetic updates to comments, debug output --- arch/arm/src/armv7-a/arm_addrenv.c | 4 +++- arch/arm/src/armv7-a/arm_fullcontextrestore.S | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/armv7-a/arm_addrenv.c b/arch/arm/src/armv7-a/arm_addrenv.c index c3d1e1ca16..5dc1652c93 100644 --- a/arch/arm/src/armv7-a/arm_addrenv.c +++ b/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/arch/arm/src/armv7-a/arm_fullcontextrestore.S b/arch/arm/src/armv7-a/arm_fullcontextrestore.S index f6de34b98b..4a8b926ca5 100644 --- a/arch/arm/src/armv7-a/arm_fullcontextrestore.S +++ b/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. */