/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/lguest/ |
H A D | lg.h | 40 struct lg_cpu { struct 93 struct lg_cpu cpus[NR_CPUS]; 123 void __lgread(struct lg_cpu *, void *, unsigned long, unsigned); 124 void __lgwrite(struct lg_cpu *, unsigned long, const void *, unsigned); 144 int run_guest(struct lg_cpu *cpu, unsigned long __user *user); 157 unsigned int interrupt_pending(struct lg_cpu *cpu, bool *more); 158 void try_deliver_interrupt(struct lg_cpu *cpu, unsigned int irq, bool more); 159 void set_interrupt(struct lg_cpu *cpu, unsigned int irq); 160 bool deliver_trap(struct lg_cpu *cpu, unsigned int num); 161 void load_guest_idt_entry(struct lg_cpu *cp [all...] |
H A D | segments.c | 67 static void fixup_gdt_table(struct lg_cpu *cpu, unsigned start, unsigned end) 130 void setup_guest_gdt(struct lg_cpu *cpu) 146 void copy_gdt_tls(const struct lg_cpu *cpu, struct desc_struct *gdt) 159 void copy_gdt(const struct lg_cpu *cpu, struct desc_struct *gdt) 176 void load_guest_gdt_entry(struct lg_cpu *cpu, u32 num, u32 lo, u32 hi) 204 void guest_load_tls(struct lg_cpu *cpu, unsigned long gtls)
|
H A D | interrupts_and_traps.c | 51 static void push_guest_stack(struct lg_cpu *cpu, unsigned long *gstack, u32 val) 72 static void set_guest_interrupt(struct lg_cpu *cpu, u32 lo, u32 hi, 158 unsigned int interrupt_pending(struct lg_cpu *cpu, bool *more) 187 void try_deliver_interrupt(struct lg_cpu *cpu, unsigned int irq, bool more) 256 void set_interrupt(struct lg_cpu *cpu, unsigned int irq) 331 bool deliver_trap(struct lg_cpu *cpu, unsigned int num) 412 void pin_stack_pages(struct lg_cpu *cpu) 440 void guest_set_stack(struct lg_cpu *cpu, u32 seg, u32 esp, unsigned int pages) 467 static void set_trap(struct lg_cpu *cpu, struct desc_struct *trap, 501 void load_guest_idt_entry(struct lg_cpu *cp [all...] |
H A D | hypercalls.c | 37 static void do_hcall(struct lg_cpu *cpu, struct hcall_args *args) 139 static void do_async_hcalls(struct lg_cpu *cpu) 201 static void initialize(struct lg_cpu *cpu) 260 void do_hypercalls(struct lg_cpu *cpu) 305 void write_timestamp(struct lg_cpu *cpu)
|
H A D | page_tables.c | 95 static pgd_t *spgd_addr(struct lg_cpu *cpu, u32 i, unsigned long vaddr) 116 static pmd_t *spmd_addr(struct lg_cpu *cpu, pgd_t spgd, unsigned long vaddr) 141 static pte_t *spte_addr(struct lg_cpu *cpu, pgd_t spgd, unsigned long vaddr) 162 static unsigned long gpgd_addr(struct lg_cpu *cpu, unsigned long vaddr) 178 static unsigned long gpte_addr(struct lg_cpu *cpu, 188 static unsigned long gpte_addr(struct lg_cpu *cpu, 232 static pte_t gpte_to_spte(struct lg_cpu *cpu, pte_t gpte, int write) 279 static void check_gpte(struct lg_cpu *cpu, pte_t gpte) 286 static void check_gpgd(struct lg_cpu *cpu, pgd_t gpgd) 294 static void check_gpmd(struct lg_cpu *cp [all...] |
H A D | core.c | 182 void __lgread(struct lg_cpu *cpu, void *b, unsigned long addr, unsigned bytes) 193 void __lgwrite(struct lg_cpu *cpu, unsigned long addr, const void *b, 207 int run_guest(struct lg_cpu *cpu, unsigned long __user *user)
|
H A D | lguest_user.c | 24 bool send_notify_to_eventfd(struct lg_cpu *cpu) 177 static int user_send_irq(struct lg_cpu *cpu, const unsigned long __user *input) 201 struct lg_cpu *cpu; 248 static int lg_cpu_start(struct lg_cpu *cpu, unsigned id, unsigned long start_ip) 407 struct lg_cpu *uninitialized_var(cpu);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/lguest/ |
H A D | lg.h | 40 struct lg_cpu { struct 93 struct lg_cpu cpus[NR_CPUS]; 123 void __lgread(struct lg_cpu *, void *, unsigned long, unsigned); 124 void __lgwrite(struct lg_cpu *, unsigned long, const void *, unsigned); 144 int run_guest(struct lg_cpu *cpu, unsigned long __user *user); 157 unsigned int interrupt_pending(struct lg_cpu *cpu, bool *more); 158 void try_deliver_interrupt(struct lg_cpu *cpu, unsigned int irq, bool more); 159 void set_interrupt(struct lg_cpu *cpu, unsigned int irq); 160 bool deliver_trap(struct lg_cpu *cpu, unsigned int num); 161 void load_guest_idt_entry(struct lg_cpu *cp [all...] |
H A D | segments.c | 67 static void fixup_gdt_table(struct lg_cpu *cpu, unsigned start, unsigned end) 130 void setup_guest_gdt(struct lg_cpu *cpu) 146 void copy_gdt_tls(const struct lg_cpu *cpu, struct desc_struct *gdt) 159 void copy_gdt(const struct lg_cpu *cpu, struct desc_struct *gdt) 176 void load_guest_gdt_entry(struct lg_cpu *cpu, u32 num, u32 lo, u32 hi) 204 void guest_load_tls(struct lg_cpu *cpu, unsigned long gtls)
|
H A D | interrupts_and_traps.c | 51 static void push_guest_stack(struct lg_cpu *cpu, unsigned long *gstack, u32 val) 72 static void set_guest_interrupt(struct lg_cpu *cpu, u32 lo, u32 hi, 158 unsigned int interrupt_pending(struct lg_cpu *cpu, bool *more) 187 void try_deliver_interrupt(struct lg_cpu *cpu, unsigned int irq, bool more) 256 void set_interrupt(struct lg_cpu *cpu, unsigned int irq) 331 bool deliver_trap(struct lg_cpu *cpu, unsigned int num) 412 void pin_stack_pages(struct lg_cpu *cpu) 440 void guest_set_stack(struct lg_cpu *cpu, u32 seg, u32 esp, unsigned int pages) 467 static void set_trap(struct lg_cpu *cpu, struct desc_struct *trap, 501 void load_guest_idt_entry(struct lg_cpu *cp [all...] |
H A D | hypercalls.c | 37 static void do_hcall(struct lg_cpu *cpu, struct hcall_args *args) 139 static void do_async_hcalls(struct lg_cpu *cpu) 201 static void initialize(struct lg_cpu *cpu) 260 void do_hypercalls(struct lg_cpu *cpu) 305 void write_timestamp(struct lg_cpu *cpu)
|
H A D | page_tables.c | 95 static pgd_t *spgd_addr(struct lg_cpu *cpu, u32 i, unsigned long vaddr) 116 static pmd_t *spmd_addr(struct lg_cpu *cpu, pgd_t spgd, unsigned long vaddr) 141 static pte_t *spte_addr(struct lg_cpu *cpu, pgd_t spgd, unsigned long vaddr) 162 static unsigned long gpgd_addr(struct lg_cpu *cpu, unsigned long vaddr) 178 static unsigned long gpte_addr(struct lg_cpu *cpu, 188 static unsigned long gpte_addr(struct lg_cpu *cpu, 232 static pte_t gpte_to_spte(struct lg_cpu *cpu, pte_t gpte, int write) 279 static void check_gpte(struct lg_cpu *cpu, pte_t gpte) 286 static void check_gpgd(struct lg_cpu *cpu, pgd_t gpgd) 294 static void check_gpmd(struct lg_cpu *cp [all...] |
H A D | core.c | 182 void __lgread(struct lg_cpu *cpu, void *b, unsigned long addr, unsigned bytes) 193 void __lgwrite(struct lg_cpu *cpu, unsigned long addr, const void *b, 207 int run_guest(struct lg_cpu *cpu, unsigned long __user *user)
|
H A D | lguest_user.c | 24 bool send_notify_to_eventfd(struct lg_cpu *cpu) 177 static int user_send_irq(struct lg_cpu *cpu, const unsigned long __user *input) 201 struct lg_cpu *cpu; 248 static int lg_cpu_start(struct lg_cpu *cpu, unsigned id, unsigned long start_ip) 407 struct lg_cpu *uninitialized_var(cpu);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/lguest/x86/ |
H A D | core.c | 72 static DEFINE_PER_CPU(struct lg_cpu *, lg_last_cpu); 85 static void copy_in_guest_info(struct lg_cpu *cpu, struct lguest_pages *pages) 133 static void run_guest_once(struct lg_cpu *cpu, struct lguest_pages *pages) 199 void lguest_arch_run_guest(struct lg_cpu *cpu) 269 static int emulate_insn(struct lg_cpu *cpu) 382 static void rewrite_hypercall(struct lg_cpu *cpu) 401 static bool is_hypercall(struct lg_cpu *cpu) 419 void lguest_arch_handle_trap(struct lg_cpu *cpu) 684 int lguest_arch_do_hcall(struct lg_cpu *cpu, struct hcall_args *args) 704 int lguest_arch_init_hypercalls(struct lg_cpu *cp [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/lguest/x86/ |
H A D | core.c | 72 static DEFINE_PER_CPU(struct lg_cpu *, lg_last_cpu); 85 static void copy_in_guest_info(struct lg_cpu *cpu, struct lguest_pages *pages) 133 static void run_guest_once(struct lg_cpu *cpu, struct lguest_pages *pages) 199 void lguest_arch_run_guest(struct lg_cpu *cpu) 269 static int emulate_insn(struct lg_cpu *cpu) 382 static void rewrite_hypercall(struct lg_cpu *cpu) 401 static bool is_hypercall(struct lg_cpu *cpu) 419 void lguest_arch_handle_trap(struct lg_cpu *cpu) 684 int lguest_arch_do_hcall(struct lg_cpu *cpu, struct hcall_args *args) 704 int lguest_arch_init_hypercalls(struct lg_cpu *cp [all...] |