Displaying 10 results from an estimated 10 matches for "seg_limit".
Did you mean:
_set_limit
2007 Apr 18
2
[PATCH 19/21] i386 Kprobes semaphore fix
...semaphore
+ * for LDT segments. The fast path handles standard kernel and user CS
+ * as well as V8086 mode.
+ */
+unsigned long convert_eip_to_linear_slow(unsigned long eip, unsigned long seg,
+ mm_context_t *context, unsigned long *eip_limit)
{
- unsigned long addr, seg;
+ unsigned long base, seg_limit;
+ u32 seg_ar;
+ struct desc_struct *desc;
+ unsigned long flags;
- addr = regs->eip;
- seg = regs->xcs & 0xffff;
- if (regs->eflags & VM_MASK) {
- addr = (addr & 0xffff) + (seg << 4);
- return addr;
+ if (segment_from_ldt(seg)) {
+ /*
+ * Horrors abound. Must en...
2007 Apr 18
2
[PATCH 19/21] i386 Kprobes semaphore fix
...semaphore
+ * for LDT segments. The fast path handles standard kernel and user CS
+ * as well as V8086 mode.
+ */
+unsigned long convert_eip_to_linear_slow(unsigned long eip, unsigned long seg,
+ mm_context_t *context, unsigned long *eip_limit)
{
- unsigned long addr, seg;
+ unsigned long base, seg_limit;
+ u32 seg_ar;
+ struct desc_struct *desc;
+ unsigned long flags;
- addr = regs->eip;
- seg = regs->xcs & 0xffff;
- if (regs->eflags & VM_MASK) {
- addr = (addr & 0xffff) + (seg << 4);
- return addr;
+ if (segment_from_ldt(seg)) {
+ /*
+ * Horrors abound. Must en...
2007 Apr 18
1
[PATCH 2/12] ldt-accessors
...===============================
--- linux-2.6.13.orig/arch/i386/mm/fault.c 2005-08-08 13:50:12.000000000 -0700
+++ linux-2.6.13/arch/i386/mm/fault.c 2005-08-08 13:59:07.000000000 -0700
@@ -75,7 +75,8 @@
{
unsigned long eip = regs->eip;
unsigned seg = regs->xcs & 0xffff;
- u32 seg_ar, seg_limit, base, *desc;
+ u32 seg_ar, seg_limit, base;
+ struct desc_struct *desc;
/* The standard kernel/user address space limit. */
*eip_limit = (seg & 3) ? USER_DS.seg : KERNEL_DS.seg;
@@ -101,19 +102,17 @@
/* Get the GDT/LDT descriptor base.
When you look for races in this code remembe...
2007 Apr 18
1
[PATCH 2/12] ldt-accessors
...===============================
--- linux-2.6.13.orig/arch/i386/mm/fault.c 2005-08-08 13:50:12.000000000 -0700
+++ linux-2.6.13/arch/i386/mm/fault.c 2005-08-08 13:59:07.000000000 -0700
@@ -75,7 +75,8 @@
{
unsigned long eip = regs->eip;
unsigned seg = regs->xcs & 0xffff;
- u32 seg_ar, seg_limit, base, *desc;
+ u32 seg_ar, seg_limit, base;
+ struct desc_struct *desc;
/* The standard kernel/user address space limit. */
*eip_limit = (seg & 3) ? USER_DS.seg : KERNEL_DS.seg;
@@ -101,19 +102,17 @@
/* Get the GDT/LDT descriptor base.
When you look for races in this code remembe...
2007 Jul 30
50
boot a existing windows in hvm domain
Hi all
don''t get such envionment to try now. so ask for help here.
imagine that two os installed.
Xen3.1 + Linux is installed in /dev/hda
and windows xp is installed in /dev/hdb
I don''t want to reboot to use windows. Is it possiable to boot the hdb
windows in xen?
i saw there are some threads about P2V in this mail list. will the P2V
tools help?
thanks
2007 Jul 30
50
boot a existing windows in hvm domain
Hi all
don''t get such envionment to try now. so ask for help here.
imagine that two os installed.
Xen3.1 + Linux is installed in /dev/hda
and windows xp is installed in /dev/hdb
I don''t want to reboot to use windows. Is it possiable to boot the hdb
windows in xen?
i saw there are some threads about P2V in this mail list. will the P2V
tools help?
thanks
2007 Apr 18
1
[PATCH 7/14] i386 / Add some descriptor convenience functions
...===============================
--- linux-2.6.13.orig/arch/i386/mm/fault.c 2005-08-09 19:43:47.000000000 -0700
+++ linux-2.6.13/arch/i386/mm/fault.c 2005-08-10 20:42:04.000000000 -0700
@@ -75,7 +75,8 @@
{
unsigned long eip = regs->eip;
unsigned seg = regs->xcs & 0xffff;
- u32 seg_ar, seg_limit, base, *desc;
+ u32 seg_ar, seg_limit, base;
+ struct desc_struct *desc;
/* The standard kernel/user address space limit. */
*eip_limit = (seg & 3) ? USER_DS.seg : KERNEL_DS.seg;
@@ -108,12 +109,12 @@
desc = (void *)desc + (seg & ~7);
} else {
/* Must disable preemption while...
2007 Apr 18
1
[PATCH 7/14] i386 / Add some descriptor convenience functions
...===============================
--- linux-2.6.13.orig/arch/i386/mm/fault.c 2005-08-09 19:43:47.000000000 -0700
+++ linux-2.6.13/arch/i386/mm/fault.c 2005-08-10 20:42:04.000000000 -0700
@@ -75,7 +75,8 @@
{
unsigned long eip = regs->eip;
unsigned seg = regs->xcs & 0xffff;
- u32 seg_ar, seg_limit, base, *desc;
+ u32 seg_ar, seg_limit, base;
+ struct desc_struct *desc;
/* The standard kernel/user address space limit. */
*eip_limit = (seg & 3) ? USER_DS.seg : KERNEL_DS.seg;
@@ -108,12 +109,12 @@
desc = (void *)desc + (seg & ~7);
} else {
/* Must disable preemption while...
2007 Apr 18
48
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides
the same platform interface as running natively on the hardware,
paravirtualization requires modification to the guest operating system
to work with the platform interface provided by the hypervisor.
Xen was designed with performance in mind. Calls to the hypervisor
are minimized, batched if necessary, and non-critical codepaths
2007 Apr 18
48
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides
the same platform interface as running natively on the hardware,
paravirtualization requires modification to the guest operating system
to work with the platform interface provided by the hypervisor.
Xen was designed with performance in mind. Calls to the hypervisor
are minimized, batched if necessary, and non-critical codepaths