search for: pin_trap_pag

Displaying 2 results from an estimated 2 matches for "pin_trap_pag".

Did you mean: pin_trap_pages
2007 Apr 27
0
[PATCH] lguest simplification: don't pin guest trap handlers
...pin_stack_pages(struct lguest *lg) +void pin_stack_pages(struct lguest *lg) { unsigned int i; for (i = 0; i < lg->stack_pages; i++) pin_page(lg, lg->esp1 - i * PAGE_SIZE); -} - -/* We need to ensure all the direct trap pages are mapped after we - * clear shadow mappings. */ -void pin_trap_pages(struct lguest *lg) -{ - unsigned int i; - struct desc_struct *trap; - - for (i = 0; i < FIRST_EXTERNAL_VECTOR; i++) { - trap = &lg->idt[i]; - if (direct_trap(lg, trap, i)) - pin_page(lg, idt_address(trap->a, trap->b)); - } - - trap = &lg->syscall_idt; - if (direct_trap(...
2007 Apr 27
0
[PATCH] lguest simplification: don't pin guest trap handlers
...pin_stack_pages(struct lguest *lg) +void pin_stack_pages(struct lguest *lg) { unsigned int i; for (i = 0; i < lg->stack_pages; i++) pin_page(lg, lg->esp1 - i * PAGE_SIZE); -} - -/* We need to ensure all the direct trap pages are mapped after we - * clear shadow mappings. */ -void pin_trap_pages(struct lguest *lg) -{ - unsigned int i; - struct desc_struct *trap; - - for (i = 0; i < FIRST_EXTERNAL_VECTOR; i++) { - trap = &lg->idt[i]; - if (direct_trap(lg, trap, i)) - pin_page(lg, idt_address(trap->a, trap->b)); - } - - trap = &lg->syscall_idt; - if (direct_trap(...