search for: hvaddr

Displaying 4 results from an estimated 4 matches for "hvaddr".

Did you mean: vaddr
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 01/13] HV VM Fix map area for HV.
...SIZE; + + for (i=0; i < pages; i++) { + BUG_ON(!test_bit(bit, hvvm_avail_pages)); + clear_bit(bit++, hvvm_avail_pages); + } +} + + +/** + * hvvm_map_pages - map an address to the HV VM area. + * @vaddr: virtual address to map + * @pages: Number of pages from that virtual address to map. + * @hvaddr: address returned that holds the mapping. + * + * This function maps the pages represnted by addr into + * the HV VM area, and returns the address given to it. + * NULL is returned on failure (no space left?) + */ +int hvvm_map_pages(void *vaddr, int pages, unsigned long *hvaddr) +{ + unsigned lon...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 01/13] HV VM Fix map area for HV.
...SIZE; + + for (i=0; i < pages; i++) { + BUG_ON(!test_bit(bit, hvvm_avail_pages)); + clear_bit(bit++, hvvm_avail_pages); + } +} + + +/** + * hvvm_map_pages - map an address to the HV VM area. + * @vaddr: virtual address to map + * @pages: Number of pages from that virtual address to map. + * @hvaddr: address returned that holds the mapping. + * + * This function maps the pages represnted by addr into + * the HV VM area, and returns the address given to it. + * NULL is returned on failure (no space left?) + */ +int hvvm_map_pages(void *vaddr, int pages, unsigned long *hvaddr) +{ + unsigned lon...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...lt: + kill_guest_dump(vcpu, "bad trapnum %lld\n", regs->trapnum); + lguest_dump_vcpu_regs(vcpu); + return -EINVAL; + } + } + return -ENOENT; +} + +extern long end_hyper_text; +extern long start_hyper_text; + +static int __init init(void) +{ + unsigned long pages; + unsigned long hvaddr; +#if 0 + unsigned long lg_hcall = (unsigned long)HV_OFFSET(&hcall_teste); + unsigned long *lg_host_syscall = + (unsigned long *)HV_OFFSET(&host_syscall); +#endif + int order; + int ret; + + int i; + printk("start_hyper_text=%p\n",&start_hyper_text); + printk("end_hype...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...lt: + kill_guest_dump(vcpu, "bad trapnum %lld\n", regs->trapnum); + lguest_dump_vcpu_regs(vcpu); + return -EINVAL; + } + } + return -ENOENT; +} + +extern long end_hyper_text; +extern long start_hyper_text; + +static int __init init(void) +{ + unsigned long pages; + unsigned long hvaddr; +#if 0 + unsigned long lg_hcall = (unsigned long)HV_OFFSET(&hcall_teste); + unsigned long *lg_host_syscall = + (unsigned long *)HV_OFFSET(&host_syscall); +#endif + int order; + int ret; + + int i; + printk("start_hyper_text=%p\n",&start_hyper_text); + printk("end_hype...