|
4 | 4 |
|
5 | 5 | #include <asm/ucontext.h> |
6 | 6 |
|
7 | | -#include <linux/lguest.h> |
8 | | -#include "../../../drivers/lguest/lg.h" |
9 | | - |
10 | 7 | #define __SYSCALL_I386(nr, sym, qual) [nr] = 1, |
11 | 8 | static char syscalls[] = { |
12 | 9 | #include <asm/syscalls_32.h> |
@@ -62,23 +59,6 @@ void foo(void) |
62 | 59 | OFFSET(stack_canary_offset, stack_canary, canary); |
63 | 60 | #endif |
64 | 61 |
|
65 | | -#if defined(CONFIG_LGUEST) || defined(CONFIG_LGUEST_GUEST) || defined(CONFIG_LGUEST_MODULE) |
66 | | - BLANK(); |
67 | | - OFFSET(LGUEST_DATA_irq_enabled, lguest_data, irq_enabled); |
68 | | - OFFSET(LGUEST_DATA_irq_pending, lguest_data, irq_pending); |
69 | | - |
70 | | - BLANK(); |
71 | | - OFFSET(LGUEST_PAGES_host_gdt_desc, lguest_pages, state.host_gdt_desc); |
72 | | - OFFSET(LGUEST_PAGES_host_idt_desc, lguest_pages, state.host_idt_desc); |
73 | | - OFFSET(LGUEST_PAGES_host_cr3, lguest_pages, state.host_cr3); |
74 | | - OFFSET(LGUEST_PAGES_host_sp, lguest_pages, state.host_sp); |
75 | | - OFFSET(LGUEST_PAGES_guest_gdt_desc, lguest_pages,state.guest_gdt_desc); |
76 | | - OFFSET(LGUEST_PAGES_guest_idt_desc, lguest_pages,state.guest_idt_desc); |
77 | | - OFFSET(LGUEST_PAGES_guest_gdt, lguest_pages, state.guest_gdt); |
78 | | - OFFSET(LGUEST_PAGES_regs_trapnum, lguest_pages, regs.trapnum); |
79 | | - OFFSET(LGUEST_PAGES_regs_errcode, lguest_pages, regs.errcode); |
80 | | - OFFSET(LGUEST_PAGES_regs, lguest_pages, regs); |
81 | | -#endif |
82 | 62 | BLANK(); |
83 | 63 | DEFINE(__NR_syscall_max, sizeof(syscalls) - 1); |
84 | 64 | DEFINE(NR_syscalls, sizeof(syscalls)); |
|
0 commit comments