Skip to main content

user_trampoline

Function user_trampoline 

Source
extern "C" fn user_trampoline()
Expand description

ユーザープロセスのトランポリン関数。 switch_context から ret で呼ばれ、SP_EL1 をカーネルスタックに、 SP_EL0 をユーザースタックに設定した上で、enter_userspace を用いて EL0 に降下します。