Home
last modified time | relevance | path

Searched full:stack (Results 1 – 25 of 1008) sorted by relevance

12345678910>>...41

/nrf52832-nimble/rt-thread/components/net/freemodbus/modbus/include/
H A Dmb.h47 * the basic functions and types required to use the Modbus protocol stack.
50 * the protocol stack. In the main loop the function eMBPoll() must be called
56 * // Initialize protocol stack in RTU mode for a slave with address 10 = 0x0A
58 * // Enable the Modbus Protocol Stack.
62 * // Call the main polling loop of the Modbus protocol stack.
98 * stack needs to know the current register values.
105 MB_REG_READ, /*!< Read register values and pass to protocol stack. */
110 * \brief Errorcodes used by all function in the protocol stack.
120 MB_EILLSTATE, /*!< protocol stack in illegal state. */
127 * \brief Initialize the Modbus protocol stack.
[all …]
H A Dmb_m.h42 * the basic functions and types required to use the Modbus Master protocol stack.
45 * the protocol stack. In the main loop the function eMBMasterPoll() must be called
51 * // Initialize protocol stack in RTU mode for a Master
53 * // Enable the Modbus Protocol Stack.
57 * // Call the main polling loop of the Modbus Master protocol stack.
97 * \brief Initialize the Modbus Master protocol stack.
121 * \brief Initialize the Modbus Master protocol stack for Modbus TCP.
127 * \return If the protocol stack has been initialized correctly the function
137 * \brief Release resources used by the protocol stack.
139 * This function disables the Modbus Master protocol stack and release all
[all …]
/nrf52832-nimble/rt-thread/libcpu/arm/cortex-m0/
H A Dcontext_iar.S80 ; r0 --> switch from thread stack
81 ; r1 --> switch to thread stack
82 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
105 MRS r1, psp ; get from thread stack pointer
109 STR r1, [r0] ; update from thread stack pointer
111 STMIA r1!, {r4 - r7} ; push thread {r4 - r7} register to thread stack
117 STMIA r1!, {r4 - r7} ; push thread {r8 - r11} high register to thread stack
122 LDR r1, [r1] ; load thread stack pointer
124 LDMIA r1!, {r4 - r7} ; pop thread {r4 - r7} register from thread stack
127 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r…
[all …]
H A Dcontext_rvds.S84 ; r0 --> switch from thread stack
85 ; r1 --> switch to thread stack
86 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
109 MRS r1, psp ; get from thread stack pointer
113 STR r1, [r0] ; update from thread stack pointer
115 STMIA r1!, {r4 - r7} ; push thread {r4 - r7} register to thread stack
121 STMIA r1!, {r4 - r7} ; push thread {r8 - r11} high register to thread stack
126 LDR r1, [r1] ; load thread stack pointer
128 LDMIA r1!, {r4 - r7} ; pop thread {r4 - r7} register from thread stack
131 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r…
[all …]
H A Dcontext_gcc.S78 /* R0 --> switch from thread stack
79 * R1 --> switch to thread stack
80 * psr, pc, LR, R12, R3, R2, R1, R0 are pushed into [from] stack
104 MRS R1, PSP /* get from thread stack pointer */
108 STR R1, [R0] /* update from thread stack pointer */
110 STMIA R1!, {R4 - R7} /* push thread {R4 - R7} register to thread stack */
116 STMIA R1!, {R4 - R7} /* push thread {R8 - R11} high register to thread stack */
120 LDR R1, [R1] /* load thread stack pointer */
122 LDMIA R1!, {R4 - R7} /* pop thread {R4 - R7} register from thread stack */
125 …LDMIA R1!, {R4 - R7} /* pop thread {R8 - R11} high register from thread stack to {R4 - …
[all …]
/nrf52832-nimble/rt-thread/components/net/uip/doc/
H A Dpt-doc.txt26 protothread do not require a separate stack. In memory constrained
32 \note Because protothreads do not save the stack context across a
50 stack-switching
90 traditional multi-threading, each thread requires its own stack, that
96 own stack. Rather, all protothreads run on the same stack and context
97 switching is done by stack rewinding. This is advantageous in memory
98 constrained systems, where a stack for a thread might use a large part
112 difference is that co-routines uses a separate stack for each
122 Because protothreads do not save the stack context across a blocking
152 except for stack pointers, and requires between 16 and 32 bytes of
/nrf52832-nimble/rt-thread/components/CMSIS/Include/
H A Dcore_cmFunc.h123 /** \brief Get Process Stack Pointer
125 This function returns the current value of the Process Stack Pointer (PSP).
136 /** \brief Set Process Stack Pointer
138 This function assigns the given value to the Process Stack Pointer (PSP).
140 \param [in] topOfProcStack Process Stack Pointer value to set
149 /** \brief Get Main Stack Pointer
151 This function returns the current value of the Main Stack Pointer (MSP).
162 /** \brief Set Main Stack Pointer
164 This function assigns the given value to the Main Stack Pointer (MSP).
166 \param [in] topOfMainStack Main Stack Pointer value to set
[all …]
/nrf52832-nimble/rt-thread/libcpu/arm/cortex-m3/
H A Dcontext_iar.S80 ; r0 --> switch from thread stack
81 ; r1 --> switch to thread stack
82 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
103 MRS r1, psp ; get from thread stack pointer
106 STR r1, [r0] ; update from thread stack pointer
111 LDR r1, [r1] ; load thread stack pointer
114 MSR psp, r1 ; update stack pointer
189 MSR psp, r0 ; update stack pointer to PSP.
192 MSR msp, r0 ; update stack pointer to MSP.
H A Dcontext_rvds.S83 ; r0 --> switch from thread stack
84 ; r1 --> switch to thread stack
85 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
106 MRS r1, psp ; get from thread stack pointer
109 STR r1, [r0] ; update from thread stack pointer
114 LDR r1, [r1] ; load thread stack pointer
117 MSR psp, r1 ; update stack pointer
194 MSREQ msp, r0 ; [2]=0 ==> Z=1, update stack pointer to MSP.
195 MSRNE psp, r0 ; [2]=1 ==> Z=0, update stack pointer to PSP.
H A Dcontext_gcc.S79 /* R0 --> switch from thread stack
80 * R1 --> switch to thread stack
81 * psr, pc, LR, R12, R3, R2, R1, R0 are pushed into [from] stack
103 MRS R1, PSP /* get from thread stack pointer */
106 STR R1, [R0] /* update from thread stack pointer */
111 LDR R1, [R1] /* load thread stack pointer */
114 MSR PSP, R1 /* update stack pointer */
189 MSR psp, r0 /* update stack pointer to PSP. */
192 MSR msp, r0 /* update stack pointer to MSP. */
/nrf52832-nimble/rt-thread/libcpu/arm/cortex-m4/
H A Dcontext_rvds.S11 ; * 2013-06-23 aozima support lazy stack optimized.
85 ; r0 --> switch from thread stack
86 ; r1 --> switch to thread stack
87 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
108 MRS r1, psp ; get from thread stack pointer
127 STR r1, [r0] ; update from thread stack pointer
132 LDR r1, [r1] ; load thread stack pointer
145 MSR psp, r1 ; update stack pointer
238 MSREQ msp, r0 ; [2]=0 ==> Z=1, update stack pointer to MSP.
239 MSRNE psp, r0 ; [2]=1 ==> Z=0, update stack pointer to PSP.
H A Dcontext_iar.S12 ; * 2013-06-23 aozima support lazy stack optimized.
82 ; r0 --> switch from thread stack
83 ; r1 --> switch to thread stack
84 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
105 MRS r1, psp ; get from thread stack pointer
128 STR r1, [r0] ; update from thread stack pointer
133 LDR r1, [r1] ; load thread stack pointer
147 MSR psp, r1 ; update stack pointer
240 MSR psp, r0 ; update stack pointer to PSP.
243 MSR msp, r0 ; update stack pointer to MSP.
H A Dcontext_gcc.S11 * 2013-06-23 aozima support lazy stack optimized.
82 /* r0 --> switch from thread stack
83 * r1 --> switch to thread stack
84 * psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
106 MRS r1, psp /* get from thread stack pointer */
125 STR r1, [r0] /* update from thread stack pointer */
130 LDR r1, [r1] /* load thread stack pointer */
143 MSR psp, r1 /* update stack pointer */
234 MSR psp, r0 /* update stack pointer to PSP. */
237 MSR msp, r0 /* update stack pointer to MSP. */
/nrf52832-nimble/rt-thread/libcpu/arm/cortex-m7/
H A Dcontext_rvds.S11 ; * 2013-06-23 aozima support lazy stack optimized.
85 ; r0 --> switch from thread stack
86 ; r1 --> switch to thread stack
87 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
108 MRS r1, psp ; get from thread stack pointer
127 STR r1, [r0] ; update from thread stack pointer
132 LDR r1, [r1] ; load thread stack pointer
145 MSR psp, r1 ; update stack pointer
240 MSREQ msp, r0 ; [2]=0 ==> Z=1, update stack pointer to MSP.
241 MSRNE psp, r0 ; [2]=1 ==> Z=0, update stack pointer to PSP.
H A Dcontext_iar.S12 ; * 2013-06-23 aozima support lazy stack optimized.
82 ; r0 --> switch from thread stack
83 ; r1 --> switch to thread stack
84 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
105 MRS r1, psp ; get from thread stack pointer
128 STR r1, [r0] ; update from thread stack pointer
133 LDR r1, [r1] ; load thread stack pointer
147 MSR psp, r1 ; update stack pointer
240 MSR psp, r0 ; update stack pointer to PSP.
243 MSR msp, r0 ; update stack pointer to MSP.
H A Dcontext_gcc.S11 * 2013-06-23 aozima support lazy stack optimized.
82 /* r0 --> switch from thread stack
83 * r1 --> switch to thread stack
84 * psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
106 MRS r1, psp /* get from thread stack pointer */
125 STR r1, [r0] /* update from thread stack pointer */
130 LDR r1, [r1] /* load thread stack pointer */
143 MSR psp, r1 /* update stack pointer */
234 MSR psp, r0 /* update stack pointer to PSP. */
237 MSR msp, r0 /* update stack pointer to MSP. */
/nrf52832-nimble/rt-thread/libcpu/arm/cortex-a/
H A Dstart_gcc.S33 /* stack */
54 /* setup stack */
90 @ Set the startup stack for svc
93 @ Enter Undefined Instruction Mode and set its Stack Pointer
98 @ Enter Abort Mode and set its Stack Pointer
103 @ Enter FIQ Mode and set its Stack Pointer
108 @ Enter IRQ Mode and set its Stack Pointer
160 mov r1, sp @ r1 point to {r0-r3} in stack
167 @ interrupted, this will just switch to the stack of kernel space.
183 ldr sp, [r6] @ get new task's stack pointer
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/libs/parser/
H A Dsymbol.c1080 * When we check for recursive dependencies we use a stack to save
1082 * The entries are located on the call stack so no need to free memory.
1083 * Note insert() remove() must always match to properly clear the stack.
1092 static void dep_stack_insert(struct dep_stack *stack, struct symbol *sym) in dep_stack_insert() argument
1094 memset(stack, 0, sizeof(*stack)); in dep_stack_insert()
1096 check_top->next = stack; in dep_stack_insert()
1097 stack->prev = check_top; in dep_stack_insert()
1098 stack->sym = sym; in dep_stack_insert()
1099 check_top = stack; in dep_stack_insert()
1112 * the ->prev pointer to locate the bottom of the stack.
[all …]
/nrf52832-nimble/rt-thread/libcpu/arm/zynq7000/
H A Dstart_gcc.S32 /* stack */
63 /* setup stack */
100 @ Set the startup stack for svc
103 @ Enter Undefined Instruction Mode and set its Stack Pointer
108 @ Enter Abort Mode and set its Stack Pointer
113 @ Enter FIQ Mode and set its Stack Pointer
118 @ Enter IRQ Mode and set its Stack Pointer
166 mov r1, sp @ r1 point to {r0-r3} in stack
187 ldr sp, [r7] @ get new task's stack pointer
/nrf52832-nimble/rt-thread/libcpu/arm/arm926/
H A Dstart_rvds.S11 ; * 2015-06-04 aozima Align stack address to 8 byte.
36 ;----------------------- Stack and Heap Definitions ----------------------------
37 AREA STACK, NOINIT, READWRITE, ALIGN=3
132 ; Setup Stack for each mode
262 LDR R5, [R4] ; R5 = stack ptr in old tasks's TCB
266 LDR R6, [R6] ; R6 = stack ptr in new tasks's TCB
267 LDR SP, [R6] ; Get new task's stack pointer
276 ; User Stack and Heap initialization
292 LDR R1, = SVC_STACK_START ; stack base (top-address)
294 LDR R3, = (SVC_STACK_START - SVC_STK_SIZE) ; stack limit (low-address)
/nrf52832-nimble/nordic/nrfx/mdk/
H A Dnrf91_common.ld148 * used for linker to calculate size of stack sections, and assign
149 * values to stack symbols later */
152 *(.stack*)
155 /* Set stack top to end of RAM, and stack limit move down by
161 /* Check if data + heap + stack exceeds RAM limit */
162 ASSERT(__StackLimit >= __HeapLimit, "region RAM overflowed with stack")
H A Dnrf_common.ld146 * used for linker to calculate size of stack sections, and assign
147 * values to stack symbols later */
150 KEEP(*(.stack*))
153 /* Set stack top to end of RAM, and stack limit move down by
159 /* Check if data + heap + stack exceeds RAM limit */
160 ASSERT(__StackLimit >= __HeapLimit, "region RAM overflowed with stack")
H A Dnrf52_common.ld148 * used for linker to calculate size of stack sections, and assign
149 * values to stack symbols later */
152 KEEP(*(.stack*))
155 /* Set stack top to end of RAM, and stack limit move down by
161 /* Check if data + heap + stack exceeds RAM limit */
162 ASSERT(__StackLimit >= __HeapLimit, "region RAM overflowed with stack")
/nrf52832-nimble/rt-thread/libcpu/arm/am335x/
H A Dstart_gcc.S32 /* stack */
51 /* setup stack */
87 @ Enter Undefined Instruction Mode and set its Stack Pointer
92 @ Enter Abort Mode and set its Stack Pointer
97 @ Enter FIQ Mode and set its Stack Pointer
102 @ Enter IRQ Mode and set its Stack Pointer
107 @ Enter Supervisor Mode and set its Stack Pointer
112 @ Enter User Mode and set its Stack Pointer
246 ldr sp, [r6] @ get new task's stack pointer
/nrf52832-nimble/rt-thread/components/net/freemodbus/
H A DChangelog.txt54 - BUG (ALL): Modbus functions are compiled into the stack conditionally
59 is was possible to start the Modbus stack with an address of 0
75 - OTHER (ALL): License is now BSD for protocol stack.
100 with the protocol stack.
104 which makes shutdown of the protocol stack easier.
117 which pvMBFrameCloseCur( ) is called when the protocol stack
138 handler is deregistered from the protocol stack.
143 codes without touching the protocol stack.
192 porting layer which allows specifing the stack size.
248 - FEATURES: added required functions to core protocol stack to support
[all …]

12345678910>>...41