commit | 7353c7f95d7d07d647ff5ff07d7f77bb8c733b62 | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Thu Feb 06 13:39:03 2020 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Feb 08 08:51:04 2020 -0500 |
tree | d4a1b877ebd3df5b0b70ca56ade436e67a10bcb0 | |
parent | 8153144de0d27fff686647c4d2b2baf08fa462ee [diff] |
kernel/userspace: Move syscall_frame field to thread struct The syscall exception frame was stored on the CPU struct during syscall execution, but that's not right. System calls might "feel like" exceptions, but they're actually perfectly normal kernel mode code and can be preempted and migrated between CPUs at any time. Put the field on the thread struct. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>