diff --git a/headers/private/kernel/arch/x86/arch_cpu.h b/headers/private/kernel/arch/x86/arch_cpu.h index 48e34e7900..3054a20535 100644 --- a/headers/private/kernel/arch/x86/arch_cpu.h +++ b/headers/private/kernel/arch/x86/arch_cpu.h @@ -153,6 +153,9 @@ struct iframe { uint32 eip; uint32 cs; uint32 flags; + + // user_esp and user_ss are only present when the iframe is a userland + // iframe (IFRAME_IS_USER()). A kernel iframe is shorter. uint32 user_esp; uint32 user_ss; };