Skip to content
Commit 6b41b633 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

x86: Move IDT to desc.c



Move the IDT data structures from x86/cstart.S and x86/cstart64.S to
lib/x86/desc.c, so that the follow-up UEFI support commits can reuse
these definitions, without re-defining them in UEFI's boot up assembly
code.

Extracted by a patch by Zixuan Wang <zxwang42@gmail.com> and ported
to 32-bit too.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent a7f32d87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment