Re: [kvm-unit-tests PATCH v2 02/10] x86: Move load_idt() to desc.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 12, 2022, Varad Gautam wrote:
> This allows sharing IDT setup code between EFI (-fPIC) and
> non-EFI builds.
> 
> Signed-off-by: Varad Gautam <varad.gautam@xxxxxxxx>
> ---
>  lib/x86/desc.c       | 5 +++++
>  lib/x86/desc.h       | 1 +
>  lib/x86/setup.c      | 1 -
>  x86/cstart64.S       | 3 ++-
>  x86/efi/efistart64.S | 5 -----

I belive setup_tr_and_percpu in x86/cstart.S can also use the common load_idt.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux