mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 23:05:13 +08:00
[libcpu]:optimize code format
This commit is contained in:
parent
e7b1786759
commit
a4a85a28da
@ -52,7 +52,7 @@ rt_uint8_t *rt_hw_stack_init(void *tentry, void *parameter,
|
||||
|
||||
stack_addr += sizeof(rt_uint32_t);
|
||||
stack_addr = (rt_uint8_t *)RT_ALIGN_DOWN((rt_uint32_t)stack_addr, 8);
|
||||
stk = (rt_uint32_t*)stack_addr;
|
||||
stk = (rt_uint32_t *)stack_addr;
|
||||
*(--stk) = (rt_uint32_t)tentry; /* entry point */
|
||||
*(--stk) = (rt_uint32_t)texit; /* lr */
|
||||
*(--stk) = 0; /* r12 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user