From 6fd14f0e212404b4ccd598a7f6a25a56bee6a3e1 Mon Sep 17 00:00:00 2001
From: Gregory Nutt up_addrenv_clone()
4.4.9 up_addrenv_attach()
4.4.10 up_addrenv_detach()
- 4.4.11 up_addrenv_stackalloc()
- 4.4.12 up_addrenv_stackfree()
- 4.4.13 up_addrenv_vstack()
- 4.4.14 up_addrenv_stackselect()
+ 4.4.11 up_addrenv_ustackalloc()
+ 4.4.12 up_addrenv_ustackfree()
+ 4.4.13 up_addrenv_vustack()
+ 4.4.14 up_addrenv_ustackselect()
4.5 APIs Exported by NuttX to Architecture-Specific Logic
@@ -2985,16 +2985,16 @@ VxWorks provides the following comparable interface:
up_addrenv_stackalloc()
:
+ 4.4.11 up_addrenv_ustackalloc()
:
Create a stack address environment
up_addrenv_stackfree()
:
+ 4.4.12 up_addrenv_ustackfree()
:
Destroy a stack address environment.
up_addrenv_vstack()
:
+ 4.4.13 up_addrenv_vustack()
:
Returns the virtual base address of the stack
up_addrenv_stackselect()
:
+ 4.4.14 up_addrenv_ustackselect()
:
Instantiate a stack address environment
OK
) on success; a negated errno
value on failure.
-up_addrenv_stackalloc()
up_addrenv_ustackalloc()
Function Prototype:
int up_addrenv_stackalloc(FAR struct tcb_s *tcb, size_t stacksize);
+ int up_addrenv_ustackalloc(FAR struct tcb_s *tcb, size_t stacksize);
Description:
This function is called when a new thread is created in order to instantiate an address environment for the new thread's stack.
- up_addrenv_stackalloc()
is essentially the allocator of the physical memory for the new task's stack.
+ up_addrenv_ustackalloc()
is essentially the allocator of the physical memory for the new task's stack.
Input Parameters:
@@ -3230,10 +3230,10 @@ VxWorks provides the following comparable interface: Zero (OK
) on success; a negated errno
value on failure.
-up_addrenv_stackfree()
up_addrenv_ustackfree()
Function Prototype:
int up_addrenv_stackfree(FAR struct tcb_s *tcb);
+ int up_addrenv_ustackfree(FAR struct tcb_s *tcb);
Description:
OK
) on success; a negated errno
value on failure.
up_addrenv_vstack()
up_addrenv_vustack()
Function Prototype:
int up_addrenv_vstack(FAR const struct tcb_s *tcb, FAR void **vstack);
+ int up_addrenv_vustack(FAR const struct tcb_s *tcb, FAR void **vstack);
Description:
OK
) on success; a negated errno
value on failure.
up_addrenv_stackselect()
up_addrenv_ustackselect()
Function Prototype:
int up_addrenv_stackselect(FAR const struct tcb_s *tcb);
+ int up_addrenv_ustackselect(FAR const struct tcb_s *tcb);
Description:
- After an address environment has been established for a task's stack (via up_addrenv_stackalloc()
.
+ After an address environment has been established for a task's stack (via up_addrenv_ustackalloc()
.
This function may be called to instantiate that address environment in the virtual address space.
This is a necessary step before each context switch to the newly created thread (including the initial thread startup).