1/* Startup code and pre-defined data structures */ 2 3#include "apic-defs.h" 4#include "asm-generic/page.h" 5#include "crt0-efi-x86_64.S" 6 7 8/* Reserve stack in .data */ 9.data 10.align PAGE_SIZE 11 . = . + PAGE_SIZE * MAX_TEST_CPUS 12.globl stacktop 13stacktop: 14 15.align PAGE_SIZE 16.globl ptl2 17ptl2: 18 . = . + 4 * PAGE_SIZE 19.align PAGE_SIZE 20 21.globl ptl3 22ptl3: 23 . = . + PAGE_SIZE 24.align PAGE_SIZE 25 26.globl ptl4 27ptl4: 28 . = . + PAGE_SIZE 29.align PAGE_SIZE 30 31.section .init 32.code64 33.text 34 35.code16 36 37.globl rm_trampoline 38rm_trampoline: 39 40.globl sipi_entry 41sipi_entry: 42 jmp sipi_entry 43 44.globl sipi_end 45sipi_end: 46 47.globl rm_trampoline_end 48rm_trampoline_end: 49