x86, realmode: header for trampoline code
[cascardo/linux.git] / arch / x86 / realmode / rm / trampoline_common.S
1         .section ".rodata","a"
2
3         .balign 4
4 tr_idt: .fill 1, 6, 0
5
6         .bss
7
8         .balign 4
9 GLOBAL(trampoline_status)       .space  4
10
11 GLOBAL(trampoline_header)
12 #ifdef CONFIG_X86_32
13         tr_start:               .space  4
14         tr_gdt:                 .space  6
15 #else
16         tr_start:               .space  8
17 #endif
18 END(trampoline_header)
19
20 #ifdef CONFIG_X86_64
21         .balign PAGE_SIZE
22 GLOBAL(trampoline_pgd)          .space  PAGE_SIZE
23 #endif