From b13d9b41619b66b6b55b182555c750ac8a50ba29 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 26 Aug 2014 12:16:05 -0600 Subject: [PATCH] Rename up_addrenv_assign() to up_addrenv_clone() and generalize its arguments so that can be used for other purposes --- Documentation/NuttxPortingGuide.html | 18 ++++++++--------- arch/arm/src/armv7-a/arm_addrenv.c | 28 ++++++++++++++------------ arch/z80/src/z180/z180_mmu.c | 30 ++++++++++++++-------------- binfmt/binfmt_execmodule.c | 13 ++++++------ binfmt/elf.c | 8 ++++---- binfmt/nxflat.c | 6 +++--- include/nuttx/addrenv.h | 5 +++-- include/nuttx/arch.h | 20 ++++++++++--------- 8 files changed, 66 insertions(+), 62 deletions(-) diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index ec36ac4d11..88155b8cad 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -112,7 +112,7 @@ 4.4.4 up_addrenv_vdata()
4.4.5 up_addrenv_select()
4.4.6 up_addrenv_restore()
- 4.4.7 up_addrenv_assign()
+ 4.4.7 up_addrenv_clone()
4.4.8 up_addrenv_attach()
4.4.9 up_addrenv_detach() @@ -2960,8 +2960,8 @@ VxWorks provides the following comparable interface: Restore an address environment.
  • - 4.4.7 up_addrenv_assign(): - Assign an address environment to a thread. + 4.4.7 up_addrenv_clone(): + Copy an address environment from one location to another.
  • @@ -2969,7 +2969,7 @@ VxWorks provides the following comparable interface:

    Tasking Support. Other interfaces must be provided to support higher-level interfaces used by the NuttX tasking logic. - These interfaces are* used by the functions in sched/ and all operate on the task group which as been assigned an address environment by up_addrenv_assign(). + These interfaces are* used by the functions in sched/ and all operate on the task group which as been assigned an address environment by up_addrenv_clone().

    -

    4.4.7 up_addrenv_assign()

    +

    4.4.7 up_addrenv_clone()

    Function Prototype:

    Description:

    Input Parameters:

    Returned Value: