summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ring0/ring0.go
diff options
context:
space:
mode:
authorMin Le <lemin.lm@antgroup.com>2020-09-24 20:16:41 +0800
committerMin Le <lemin.lm@antgroup.com>2020-09-25 12:19:00 +0800
commit2c849c72b9414597f00e5ec4239238d9751148d8 (patch)
treeaada4a1986bdfef438943d2ca71b07694166e3a7 /pkg/sentry/platform/ring0/ring0.go
parent742e58b873dbb8d3c14b2e40f212df90ec837671 (diff)
make sure use the kernel space after change ASID
after the SWITCH_TO_APP_PAGETABLE, the ASID is changed to the application ASID, but there are still some instruction before ERET, since these instruction is not use the kernel address space, it may use the application's TLB, which will cause fault, this patch can make sure that after SWITCH_TO_APP_PAGETABLE sentry is still use kernel address space which is mapped as Global. Signed-off-by: Min Le <lemin.lm@antgroup.com>
Diffstat (limited to 'pkg/sentry/platform/ring0/ring0.go')
0 files changed, 0 insertions, 0 deletions