acrn-hypervisor/hypervisor/arch/x86
Zide Chen 8925eb5647 hv: set guest segment base to zero if VCPU does not start in real mode
In non real mode, for segment registers other than CS, the guest segment
base should be zero, otherwise the guest's segmentation results in wrong
effective addresses.

Linux boots with the wrong segment registers (base address in hidden part),
because it happens that it assigns the segment registers before using any
of them, which effectively reloads the segment base addresses from GDT.
2018-07-16 10:35:25 +08:00
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
debug HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
guest HV:transfer vmid's type to uint16_t 2018-07-13 14:13:38 +08:00
assign.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
cpu_primary.S HV:treewide:Add 16-bit atomic operations and update vpid type 2018-07-11 21:27:08 +08:00
cpu_state_tbl.c HV:CPU: Add 'U/UL' for unsigned const value 2018-07-09 10:27:21 +08:00
cpu.c hv: cpu: fix 'Pointer arithmetic is not on array' 2018-07-13 13:08:05 +08:00
cpuid.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
ept.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
gdt.c HV:misc:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
idt.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
io.c HV: coding style cleanup for TRACE_2L & TRACE_4I usage 2018-07-16 10:32:14 +08:00
ioapic.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
irq.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
Kconfig HV: build: make relocation-related code configurable 2018-07-11 19:18:26 +08:00
lapic.c HV:treewide:Clean up field names of struct cpuinfo_x86 2018-07-10 13:24:55 +08:00
mmu.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
mtrr.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
notify.c HV:misc:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
pm.c HV: pm: cleanup for misra integral type violations 2018-07-12 17:31:11 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
softirq.c HV: Fix missing brackets for MISRA C Violations 2018-07-13 09:09:12 +08:00
timer.c HV: coding style cleanup for TRACE_2L & TRACE_4I usage 2018-07-16 10:32:14 +08:00
trampoline.S HV:treewide:Add 16-bit atomic operations and update vpid type 2018-07-11 21:27:08 +08:00
trusty2.c [REVERT-ME]:handle discontinuous hpa for trusty 2018-07-11 11:11:24 +08:00
trusty.c HV:transfer vmid's type to uint16_t 2018-07-13 14:13:38 +08:00
virq.c HV: coding style cleanup for TRACE_2L & TRACE_4I usage 2018-07-16 10:32:14 +08:00
vmexit.c HV: coding style cleanup for TRACE_2L & TRACE_4I usage 2018-07-16 10:32:14 +08:00
vmx_asm.S HV:CPU:Constant values replace with CPU MACRO 2018-07-09 09:24:56 +08:00
vmx.c hv: set guest segment base to zero if VCPU does not start in real mode 2018-07-16 10:35:25 +08:00
vtd.c HV:transfer vmid's type to uint16_t 2018-07-13 14:13:38 +08:00
wakeup.S HV:CPU:Fix a mistake introduced by MARCO replacing patch 2018-07-13 11:27:56 +08:00