mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
To support this we give kernel GDT entries DPL=0 and use kernel segment selectors with RPL=0. Xen will crunch these to ring 1 when they are passed in. When a segment selector is used directly or placed in a stack frame the guest OS is reponsible for crunching the RPL. Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>