search for: lguest_text_ptr

Displaying 6 results from an estimated 6 matches for "lguest_text_ptr".

2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 04/13] Useful debugging
...de: %llx trapnum: %llx\n", + regs->errcode, regs->trapnum); + + lguest_dump_trace(vcpu, regs); +} + +struct guest_ksym_stuff { + unsigned long *addresses; + unsigned long num_syms; + u8 *names; + u8 *token_table; + u16 *token_index; + unsigned long *markers; +}; + +static struct lguest_text_ptr *get_text_segs(struct lguest_vcpu *vcpu) +{ + struct lguest_guest_info *linfo = vcpu->guest; + struct lguest_text_ptr *segs, **p; + struct lguest_text_ptr *g; + unsigned long addr; + int i; + + if (!linfo->lguest_data) + return NULL; + + addr = lhread_u64(vcpu, (u64)&linfo->lguest_dat...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 04/13] Useful debugging
...de: %llx trapnum: %llx\n", + regs->errcode, regs->trapnum); + + lguest_dump_trace(vcpu, regs); +} + +struct guest_ksym_stuff { + unsigned long *addresses; + unsigned long num_syms; + u8 *names; + u8 *token_table; + u16 *token_index; + unsigned long *markers; +}; + +static struct lguest_text_ptr *get_text_segs(struct lguest_vcpu *vcpu) +{ + struct lguest_guest_info *linfo = vcpu->guest; + struct lguest_text_ptr *segs, **p; + struct lguest_text_ptr *g; + unsigned long addr; + int i; + + if (!linfo->lguest_data) + return NULL; + + addr = lhread_u64(vcpu, (u64)&linfo->lguest_dat...
2007 Apr 18
1
[PATCH] lguest32 kallsyms backtrace of guest.
...ta lguest_data = { .hcall_status = { [0 ... LHCALL_RING_SIZE-1] = 0xFF }, .noirq_start = (u32)lguest_noirq_start, @@ -56,6 +64,7 @@ struct lguest_data lguest_data = { }; struct lguest_device_desc *lguest_devices; static __initdata const struct lguest_boot_info *boot = __va(0); +static struct lguest_text_ptr code_stack[2]; static int lazy_mode; static void lguest_lazy_mode(int mode) @@ -468,6 +477,22 @@ __init void lguest_init(void) paravirt_ops.set_lazy_mode = lguest_lazy_mode; paravirt_ops.wbinvd = lguest_wbinvd; + code_stack[0].next = __pa(&code_stack[1]); + code_stack[0].start = (unsi...
2007 Apr 18
1
[PATCH] lguest32 kallsyms backtrace of guest.
...ta lguest_data = { .hcall_status = { [0 ... LHCALL_RING_SIZE-1] = 0xFF }, .noirq_start = (u32)lguest_noirq_start, @@ -56,6 +64,7 @@ struct lguest_data lguest_data = { }; struct lguest_device_desc *lguest_devices; static __initdata const struct lguest_boot_info *boot = __va(0); +static struct lguest_text_ptr code_stack[2]; static int lazy_mode; static void lguest_lazy_mode(int mode) @@ -468,6 +477,22 @@ __init void lguest_init(void) paravirt_ops.set_lazy_mode = lguest_lazy_mode; paravirt_ops.wbinvd = lguest_wbinvd; + code_stack[0].next = __pa(&code_stack[1]); + code_stack[0].start = (unsi...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...lude <asm/asm-offsets.h> +#include <asm/mce.h> +#include <asm/proto.h> +#include <asm/sections.h> + +struct lguest_data lguest_data; +struct lguest_device_desc *lguest_devices; +static __initdata const struct lguest_boot_info *boot = (void*)__START_KERNEL_map; +static struct lguest_text_ptr code_stack[2]; +extern int acpi_disabled; +extern int acpi_ht; + +extern const unsigned long kallsyms_addresses[] __attribute__((weak)); +extern const unsigned long kallsyms_num_syms __attribute__((weak)); +extern const u8 kallsyms_names[] __attribute__((weak)); +extern const u8 kallsyms_token_tabl...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...lude <asm/asm-offsets.h> +#include <asm/mce.h> +#include <asm/proto.h> +#include <asm/sections.h> + +struct lguest_data lguest_data; +struct lguest_device_desc *lguest_devices; +static __initdata const struct lguest_boot_info *boot = (void*)__START_KERNEL_map; +static struct lguest_text_ptr code_stack[2]; +extern int acpi_disabled; +extern int acpi_ht; + +extern const unsigned long kallsyms_addresses[] __attribute__((weak)); +extern const unsigned long kallsyms_num_syms __attribute__((weak)); +extern const u8 kallsyms_names[] __attribute__((weak)); +extern const u8 kallsyms_token_tabl...