WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEN] eliminate unused {g, i}dt{, _descr}

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN] eliminate unused {g, i}dt{, _descr}
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 13 Nov 2006 15:10:15 +0000
Delivery-date: Mon, 13 Nov 2006 07:10:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 02899109a3ace551b365fb9a1d7bf6d614e2a03a
# Parent  3dfb2eef0f054f4c1d595178e8590f7e55f7ea42
[XEN] eliminate unused {g,i}dt{,_descr}
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 xen/arch/x86/boot/x86_32.S |    5 -----
 xen/arch/x86/boot/x86_64.S |    5 -----
 xen/include/asm-x86/desc.h |    5 -----
 3 files changed, 15 deletions(-)

diff -r 3dfb2eef0f05 -r 02899109a3ac xen/arch/x86/boot/x86_32.S
--- a/xen/arch/x86/boot/x86_32.S        Mon Nov 13 13:39:16 2006 +0000
+++ b/xen/arch/x86/boot/x86_32.S        Mon Nov 13 13:40:21 2006 +0000
@@ -196,21 +196,16 @@ ENTRY(stack_start)
         
 /*** DESCRIPTOR TABLES ***/
 
-.globl idt
-.globl gdt        
-
         ALIGN
         
         .word   0    
 idt_descr:
         .word   256*8-1
-idt:
         .long   idt_table
 
         .word   0
 gdt_descr:
         .word   LAST_RESERVED_GDT_BYTE
-gdt:
         .long   gdt_table - FIRST_RESERVED_GDT_BYTE
 
         .word   0
diff -r 3dfb2eef0f05 -r 02899109a3ac xen/arch/x86/boot/x86_64.S
--- a/xen/arch/x86/boot/x86_64.S        Mon Nov 13 13:39:16 2006 +0000
+++ b/xen/arch/x86/boot/x86_64.S        Mon Nov 13 13:40:21 2006 +0000
@@ -192,9 +192,6 @@ 1:      jmp     1b
 
 /*** DESCRIPTOR TABLES ***/
 
-.globl idt
-.globl gdt        
-
         .align 8, 0xCC
 multiboot_ptr:
         .long   0
@@ -210,13 +207,11 @@ cpuid_ext_features:
         .word   0
 gdt_descr:
         .word   LAST_RESERVED_GDT_BYTE
-gdt:
         .quad   gdt_table - FIRST_RESERVED_GDT_BYTE
 
         .word   0,0,0
 idt_descr:
         .word   256*16-1
-idt:
         .quad   idt_table
 
 ENTRY(stack_start)
diff -r 3dfb2eef0f05 -r 02899109a3ac xen/include/asm-x86/desc.h
--- a/xen/include/asm-x86/desc.h        Mon Nov 13 13:39:16 2006 +0000
+++ b/xen/include/asm-x86/desc.h        Mon Nov 13 13:40:21 2006 +0000
@@ -155,16 +155,11 @@ __asm__ __volatile__ ("movw %w3,0(%2)\n\
 #endif
 
 extern struct desc_struct gdt_table[];
-extern struct desc_struct *gdt;
-extern idt_entry_t        *idt;
 
 struct Xgt_desc_struct {
     unsigned short size;
     unsigned long address __attribute__((packed));
 };
-
-#define idt_descr (*(struct Xgt_desc_struct *)((char *)&idt - 2))
-#define gdt_descr (*(struct Xgt_desc_struct *)((char *)&gdt - 2))
 
 extern void set_intr_gate(unsigned int irq, void * addr);
 extern void set_system_gate(unsigned int n, void *addr);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN] eliminate unused {g, i}dt{, _descr}, Xen patchbot-unstable <=