xen-head.S (e752ab11dcb48353727ea26eefd740155e028865) xen-head.S (3adee777ad0d328e76ca9015cb7924134a992e81)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Xen-specific pieces of head.S, intended to be included in the right
3 place in head.S */
4
5#ifdef CONFIG_XEN
6
7#include <linux/elfnote.h>
8#include <linux/init.h>

--- 35 unchanged lines hidden (view full) ---

44
45#ifdef CONFIG_XEN_PV
46 __INIT
47SYM_CODE_START(startup_xen)
48 UNWIND_HINT_EMPTY
49 ANNOTATE_NOENDBR
50 cld
51
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Xen-specific pieces of head.S, intended to be included in the right
3 place in head.S */
4
5#ifdef CONFIG_XEN
6
7#include <linux/elfnote.h>
8#include <linux/init.h>

--- 35 unchanged lines hidden (view full) ---

44
45#ifdef CONFIG_XEN_PV
46 __INIT
47SYM_CODE_START(startup_xen)
48 UNWIND_HINT_EMPTY
49 ANNOTATE_NOENDBR
50 cld
51
52 mov initial_stack(%rip), %rsp
52 leaq (__end_init_task - PTREGS_SIZE)(%rip), %rsp
53
54 /* Set up %gs.
55 *
56 * The base of %gs always points to fixed_percpu_data. If the
57 * stack protector canary is enabled, it is located at %gs:40.
58 * Note that, on SMP, the boot cpu uses init data section until
59 * the per cpu areas are set up.
60 */

--- 59 unchanged lines hidden ---
53
54 /* Set up %gs.
55 *
56 * The base of %gs always points to fixed_percpu_data. If the
57 * stack protector canary is enabled, it is located at %gs:40.
58 * Note that, on SMP, the boot cpu uses init data section until
59 * the per cpu areas are set up.
60 */

--- 59 unchanged lines hidden ---