提交 d729448f 编写于 作者: B Bernard Xiong

[libcpu][arm/cortex-a] Add correct comments.

上级 21cd524b
......@@ -34,8 +34,9 @@ rt_hw_interrupt_enable:
bx lr
/*
* void rt_hw_context_switch_to(rt_uint32 to);
* r0 --> to
* void rt_hw_context_switch_to(rt_uint32 to, struct rt_thread *to_thread);
* r0 --> to (thread stack)
* r1 --> to_thread
*/
.globl rt_hw_context_switch_to
rt_hw_context_switch_to:
......@@ -64,9 +65,10 @@ _guest_switch_lvl:
.section .text.isr, "ax"
/*
* void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
* r0 --> from
* r1 --> to
* void rt_hw_context_switch(rt_uint32 from, rt_uint32 to, struct rt_thread *to_thread);
* r0 --> from (from_thread stack)
* r1 --> to (to_thread stack)
* r2 --> to_thread
*/
.globl rt_hw_context_switch
rt_hw_context_switch:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册