trampoline_common.S 410 B

1234567891011121314
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. .section ".rodata","a"
  3. .balign 16
  4. /*
  5. * When a bootloader hands off to the kernel in 32-bit mode an
  6. * IDT with a 2-byte limit and 4-byte base is needed. When a boot
  7. * loader hands off to a kernel 64-bit mode the base address
  8. * extends to 8-bytes. Reserve enough space for either scenario.
  9. */
  10. SYM_DATA_START_LOCAL(tr_idt)
  11. .short 0
  12. .quad 0
  13. SYM_DATA_END(tr_idt)