#
91abf0b9 |
| 10-Nov-2021 |
Paolo Bonzini <pbonzini@redhat.com> |
Merge branch 'gdt-idt-cleanup' into master
|
#
7e33895d |
| 21-Oct-2021 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: Move 32-bit GDT and TSS to desc.c
Move the GDT and TSS data structures from x86/cstart.S to lib/x86/desc.c, for consistency with the 64-bit version.
Signed-off-by: Paolo Bonzini <pbonzini@redh
x86: Move 32-bit GDT and TSS to desc.c
Move the GDT and TSS data structures from x86/cstart.S to lib/x86/desc.c, for consistency with the 64-bit version.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
5ed10141 |
| 21-Oct-2021 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: unify name of 32-bit and 64-bit GDT
There's no need to distinguish gdt32 and gdt64, since the same C functions operate on both and selector numbers are mostly unified between 32- and 64-bit ver
x86: unify name of 32-bit and 64-bit GDT
There's no need to distinguish gdt32 and gdt64, since the same C functions operate on both and selector numbers are mostly unified between 32- and 64-bit versions.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
a7f32d87 |
| 20-Oct-2021 |
Paolo Bonzini <pbonzini@redhat.com> |
replace tss_descr global with a function
tss_descr is declared as a struct descriptor_table_ptr but it is actualy pointing to an _entry_ in the GDT. Also it is different per CPU, but tss_descr does
replace tss_descr global with a function
tss_descr is declared as a struct descriptor_table_ptr but it is actualy pointing to an _entry_ in the GDT. Also it is different per CPU, but tss_descr does not recognize that. Fix both by reusing the code (already present e.g. in the vmware_backdoors test) that extracts the base from the GDT entry; and also provide a helper to retrieve the limit, which is needed in vmx.c.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
2e88ad23 |
| 20-Oct-2021 |
Paolo Bonzini <pbonzini@redhat.com> |
unify field names and definitions for GDT descriptors
Use the same names and definitions (apart from the high base field) for GDT descriptors in both 32-bit and 64-bit code. The next patch will als
unify field names and definitions for GDT descriptors
Use the same names and definitions (apart from the high base field) for GDT descriptors in both 32-bit and 64-bit code. The next patch will also reuse gdt_entry_t in the 16-byte struct definition, for now some duplication remains.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
efd8e5aa |
| 22-Oct-2017 |
Paolo Bonzini <pbonzini@redhat.com> |
lib: start moving vmalloc to generic code
For now, vmalloc provides a primitive that allocates contiguous virtual address. Together with a page allocator that allocates single physical memory pages
lib: start moving vmalloc to generic code
For now, vmalloc provides a primitive that allocates contiguous virtual address. Together with a page allocator that allocates single physical memory pages, it will provide an implementation of alloc_ops for when an MMU is enabled.
Before doing that, however, we need to move the page allocator and give lib/alloc.c's malloc feature parity with lib/x86/vm.c's vmalloc.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
b006d7eb |
| 03-Mar-2016 |
Andrew Jones <drjones@redhat.com> |
x86: fix printf format warnings
Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <1457008388-12749-5-git-send-email-drjones@redhat.com> [Fix c
x86: fix printf format warnings
Signed-off-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <1457008388-12749-5-git-send-email-drjones@redhat.com> [Fix conflicts with "x86: clean up exit use, use abort". - Paolo Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Conflicts:
lib/x86/desc.c
show more ...
|
#
761db0bd |
| 11-Jun-2014 |
Andrew Jones <drjones@redhat.com> |
clean root dir of all x86-ness
Remove all references to x86 from the root dir (except from in configure). Also remove references from the root dir README by moving that documentation to the x86/REA
clean root dir of all x86-ness
Remove all references to x86 from the root dir (except from in configure). Also remove references from the root dir README by moving that documentation to the x86/README, and touch up the READMEs at the same time.
Signed-off-by: Andrew Jones <drjones@redhat.com> Acked-by: Christoffer Dall <christoffer.dall@linaro.org> [Drop --test-dir, adjust includes. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
show more ...
|
#
5b0bf08b |
| 02-Apr-2014 |
Paolo Bonzini <pbonzini@redhat.com> |
x86: taskswitch: use desc library
The APIs in desc.c make it much simpler to understand what the test is doing.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
#
7d36db35 |
| 03-Aug-2010 |
Avi Kivity <avi@redhat.com> |
Initial commit from qemu-kvm.git kvm/test/
Signed-off-by: Avi Kivity <avi@redhat.com>
|