forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/arch/x86/xen/xen-ops.h
....@@ -8,13 +8,12 @@
88 #include <xen/xen-ops.h>
99
1010 /* These are code, but not functions. Defined in entry.S */
11
-extern const char xen_hypervisor_callback[];
1211 extern const char xen_failsafe_callback[];
1312
14
-void xen_sysenter_target(void);
13
+void xen_entry_SYSENTER_compat(void);
1514 #ifdef CONFIG_X86_64
16
-void xen_syscall_target(void);
17
-void xen_syscall32_target(void);
15
+void xen_entry_SYSCALL_64(void);
16
+void xen_entry_SYSCALL_compat(void);
1817 #endif
1918
2019 extern void *xen_initial_gdt;
....@@ -30,11 +29,12 @@
3029 extern struct shared_info xen_dummy_shared_info;
3130 extern struct shared_info *HYPERVISOR_shared_info;
3231
32
+extern bool xen_fifo_events;
33
+
3334 void xen_setup_mfn_list_list(void);
3435 void xen_build_mfn_list_list(void);
3536 void xen_setup_machphys_mapping(void);
3637 void xen_setup_kernel_pagetable(pgd_t *pgd, unsigned long max_pfn);
37
-void xen_reserve_top(void);
3838 void __init xen_reserve_special_pages(void);
3939 void __init xen_pt_check_e820(void);
4040
....@@ -55,7 +55,6 @@
5555 void xen_enable_syscall(void);
5656 void xen_vcpu_restore(void);
5757
58
-void xen_callback_vector(void);
5958 void xen_hvm_init_shared_info(void);
6059 void xen_unplug_emulated_devices(void);
6160
....@@ -134,6 +133,9 @@
134133 __visible unsigned long xen_save_fl_direct(void);
135134 __visible void xen_restore_fl_direct(unsigned long);
136135
136
+__visible unsigned long xen_read_cr2(void);
137
+__visible unsigned long xen_read_cr2_direct(void);
138
+
137139 /* These are not functions, and cannot be called normally */
138140 __visible void xen_iret(void);
139141 __visible void xen_sysret32(void);