Displaying 11 results from an estimated 11 matches for "no_idt".
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...ULL /* 16-bit real-mode 64k data at 0x00000100 */
};
-static struct
-{
- unsigned short size __attribute__ ((packed));
- unsigned long long * base __attribute__ ((packed));
-}
-real_mode_gdt = { sizeof (real_mode_gdt_entries) - 1, real_mode_gdt_entries },
-real_mode_idt = { 0x3ff, NULL },
-no_idt = { 0, NULL };
+static struct Xgt_desc_struct
+real_mode_gdt = { sizeof (real_mode_gdt_entries) - 1, (unsigned long)real_mode_gdt_entries },
+real_mode_idt = { 0x3ff, 0 },
+no_idt = { 0, 0 };
/* This is 16-bit protected mode code to disable paging and the cache,
@@ -322,6 +318,9 @@ void machin...
2007 Apr 18
2
[RFC, PATCH 14/24] i386 Vmi reboot fixes
...ULL /* 16-bit real-mode 64k data at 0x00000100 */
};
-static struct
-{
- unsigned short size __attribute__ ((packed));
- unsigned long long * base __attribute__ ((packed));
-}
-real_mode_gdt = { sizeof (real_mode_gdt_entries) - 1, real_mode_gdt_entries },
-real_mode_idt = { 0x3ff, NULL },
-no_idt = { 0, NULL };
+static struct Xgt_desc_struct
+real_mode_gdt = { sizeof (real_mode_gdt_entries) - 1, (unsigned long)real_mode_gdt_entries },
+real_mode_idt = { 0x3ff, 0 },
+no_idt = { 0, 0 };
/* This is 16-bit protected mode code to disable paging and the cache,
@@ -322,6 +318,9 @@ void machin...
2007 Sep 08
4
[PATCH] Unified shutdown code
...hile (0)
static unsigned long __initdata initial_images_start,
initial_images_end;
diff -r a53aaea4c698 -r a85c4081738a xen/arch/x86/shutdown.c
--- a/xen/arch/x86/shutdown.c Fri Sep 07 19:54:29 2007 +0100
+++ b/xen/arch/x86/shutdown.c Fri Sep 07 17:37:01 2007 -0700
@@ -29,6 +29,10 @@ static long no_idt[2];
static long no_idt[2];
static int reboot_mode;
+#define TEARDOWN_TYPE_REBOOT 0
+#define TEARDOWN_TYPE_HALT 1
+#define TEARDOWN_TYPE_EARLY 2
+
static inline void kb_wait(void)
{
int i;
@@ -36,20 +40,6 @@ static inline void kb_wait(void)
for ( i = 0; i < 0x10000; i+...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 10/17] paravirt_ops - boot changes
...sm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/apic.h>
+#include <asm/desc.h>
/*
* Power off function, if any
@@ -131,7 +132,7 @@ void machine_emergency_restart(void)
}
case BOOT_TRIPLE:
- __asm__ __volatile__("lidt (%0)": :"r" (&no_idt));
+ load_idt((const struct desc_ptr *)&no_idt);
__asm__ __volatile__("int3");
reboot_type = BOOT_KBD;
Index: clean-start/arch/x86_64/kernel/setup.c
===================================================================
--- clean-start.orig/arch/x86_64/kernel/setup.c
+++ clea...
2007 Apr 18
0
[RFC/PATCH PV_OPS X86_64 10/17] paravirt_ops - boot changes
...sm/pgtable.h>
#include <asm/tlbflush.h>
#include <asm/apic.h>
+#include <asm/desc.h>
/*
* Power off function, if any
@@ -131,7 +132,7 @@ void machine_emergency_restart(void)
}
case BOOT_TRIPLE:
- __asm__ __volatile__("lidt (%0)": :"r" (&no_idt));
+ load_idt((const struct desc_ptr *)&no_idt);
__asm__ __volatile__("int3");
reboot_type = BOOT_KBD;
Index: clean-start/arch/x86_64/kernel/setup.c
===================================================================
--- clean-start.orig/arch/x86_64/kernel/setup.c
+++ clea...
2007 Apr 18
8
[patch 0/8] Basic infrastructure patches for a paravirtualized kernel
Hi Andrew,
This series of patches lays the basic ground work for the
paravirtualized kernel patches coming later on. I think this lot is
ready for the rough-and-tumble world of the -mm tree.
The main change from the last posting is that all the page-table
related patches have been moved out, and will be posted separately.
Also, the off-by-one in reserving the top of address space has been
2007 Apr 18
8
[patch 0/8] Basic infrastructure patches for a paravirtualized kernel
Hi Andrew,
This series of patches lays the basic ground work for the
paravirtualized kernel patches coming later on. I think this lot is
ready for the rough-and-tumble world of the -mm tree.
The main change from the last posting is that all the page-table
related patches have been moved out, and will be posted separately.
Also, the off-by-one in reserving the top of address space has been
2007 Apr 18
15
[PATCH 0 of 13] Basic infrastructure patches for a paravirtualized kernel
[ REPOST: Apologies to anyone who has seen this before. It
didn't make it onto any of the lists it should have. -J ]
Hi Andrew,
This series of patches lays the basic ground work for the
paravirtualized kernel patches coming later on. I think this lot is
ready for the rough-and-tumble world of the -mm tree.
For the most part, these patches do nothing or very little. The
patches should
2007 Apr 18
15
[PATCH 0 of 13] Basic infrastructure patches for a paravirtualized kernel
[ REPOST: Apologies to anyone who has seen this before. It
didn't make it onto any of the lists it should have. -J ]
Hi Andrew,
This series of patches lays the basic ground work for the
paravirtualized kernel patches coming later on. I think this lot is
ready for the rough-and-tumble world of the -mm tree.
For the most part, these patches do nothing or very little. The
patches should
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...=====================================
--- linux-2.6.19-quilt.orig/arch/x86_64/kernel/reboot.c
+++ linux-2.6.19-quilt/arch/x86_64/kernel/reboot.c
@@ -131,7 +131,7 @@ void machine_emergency_restart(void)
}
case BOOT_TRIPLE:
- __asm__ __volatile__("lidt (%0)": :"r" (&no_idt));
+ load_idt((const struct desc_struct *)&no_idt);
__asm__ __volatile__("int3");
reboot_type = BOOT_KBD;
Index: linux-2.6.19-quilt/arch/x86_64/kernel/vmlinux.lds.S
===================================================================
--- linux-2.6.19-quilt.orig/arch/x86_64/...
2007 Apr 18
2
[PATCH] x86_64 paravirt_ops port
...=====================================
--- linux-2.6.19-quilt.orig/arch/x86_64/kernel/reboot.c
+++ linux-2.6.19-quilt/arch/x86_64/kernel/reboot.c
@@ -131,7 +131,7 @@ void machine_emergency_restart(void)
}
case BOOT_TRIPLE:
- __asm__ __volatile__("lidt (%0)": :"r" (&no_idt));
+ load_idt((const struct desc_struct *)&no_idt);
__asm__ __volatile__("int3");
reboot_type = BOOT_KBD;
Index: linux-2.6.19-quilt/arch/x86_64/kernel/vmlinux.lds.S
===================================================================
--- linux-2.6.19-quilt.orig/arch/x86_64/...